summaryrefslogtreecommitdiffstats
path: root/drivers/net/macsec.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2016-04-22 14:02:42 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-25 22:21:44 +0200
commite425974feaa545575135f04e646f0495439b4c54 (patch)
tree07bc15dc39d65cfd90d9d2c312c0e1614407a32e /drivers/net/macsec.c
parentroute: move lwtunnel state to a single place (diff)
downloadlinux-e425974feaa545575135f04e646f0495439b4c54.tar.xz
linux-e425974feaa545575135f04e646f0495439b4c54.zip
macsec: Convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macsec.c')
-rw-r--r--drivers/net/macsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c
index 84d3e5ca8817..6caa72402de7 100644
--- 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;