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:
0868e25
)
macsec: Convert to using IFF_NO_QUEUE
author
Phil Sutter
<phil@nwl.cc>
Fri, 22 Apr 2016 12:02:42 +0000
(14:02 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Apr 2016 20:21:44 +0000
(16:21 -0400)
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsec.c
patch
|
blob
|
history
diff --git
a/drivers/net/macsec.c
b/drivers/net/macsec.c
index
84d3e5c
..
6caa724
100644
(file)
--- a/
drivers/net/macsec.c
+++ b/
drivers/net/macsec.c
@@
-2826,7
+2826,7
@@
static void macsec_free_netdev(struct net_device *dev)
static void macsec_setup(struct net_device *dev)
{
ether_setup(dev);
- dev->
tx_queue_len = 0
;
+ dev->
priv_flags |= IFF_NO_QUEUE
;
dev->netdev_ops = &macsec_netdev_ops;
dev->destructor = macsec_free_netdev;