diff options
author | Phil Sutter <phil@nwl.cc> | 2015-08-18 04:30:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-18 14:55:05 -0400 |
commit | 85773a61a310aa5214e8e87d29792803ec5a9eed (patch) | |
tree | fd3825fdfd7bef0484d8305ec46f90bedda02047 /drivers/net/nlmon.c | |
parent | e65db2b724a2758ede002cb995bee1470f805b1a (diff) |
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>
Diffstat (limited to 'drivers/net/nlmon.c')
-rw-r--r-- | drivers/net/nlmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/nlmon.c b/drivers/net/nlmon.c index 34924dfadd00..7b7c70e2341e 100644 --- a/drivers/net/nlmon.c +++ b/drivers/net/nlmon.c | |||
@@ -130,7 +130,7 @@ static const struct net_device_ops nlmon_ops = { | |||
130 | static void nlmon_setup(struct net_device *dev) | 130 | static void nlmon_setup(struct net_device *dev) |
131 | { | 131 | { |
132 | dev->type = ARPHRD_NETLINK; | 132 | dev->type = ARPHRD_NETLINK; |
133 | dev->tx_queue_len = 0; | 133 | dev->priv_flags |= IFF_NO_QUEUE; |
134 | 134 | ||
135 | dev->netdev_ops = &nlmon_ops; | 135 | dev->netdev_ops = &nlmon_ops; |
136 | dev->ethtool_ops = &nlmon_ethtool_ops; | 136 | dev->ethtool_ops = &nlmon_ethtool_ops; |