mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 22:31:47 -04:00
net: nlmon: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <phil@nwl.cc> Cc: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e65db2b724
commit
85773a61a3
@@ -130,7 +130,7 @@ static const struct net_device_ops nlmon_ops = {
|
||||
static void nlmon_setup(struct net_device *dev)
|
||||
{
|
||||
dev->type = ARPHRD_NETLINK;
|
||||
dev->tx_queue_len = 0;
|
||||
dev->priv_flags |= IFF_NO_QUEUE;
|
||||
|
||||
dev->netdev_ops = &nlmon_ops;
|
||||
dev->ethtool_ops = &nlmon_ethtool_ops;
|
||||
|
||||
Reference in New Issue
Block a user