OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e65db2b
)
net: nlmon: convert to using IFF_NO_QUEUE
author
Phil Sutter
<phil@nwl.cc>
Tue, 18 Aug 2015 08:30:33 +0000
(10:30 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Aug 2015 18:55:05 +0000
(11:55 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/nlmon.c
patch
|
blob
|
history
diff --git
a/drivers/net/nlmon.c
b/drivers/net/nlmon.c
index
34924df
..
7b7c70e
100644
(file)
--- a/
drivers/net/nlmon.c
+++ b/
drivers/net/nlmon.c
@@
-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;