diff options
author | Phil Sutter <phil@nwl.cc> | 2016-04-22 14:02:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-25 16:21:44 -0400 |
commit | e425974feaa545575135f04e646f0495439b4c54 (patch) | |
tree | 07bc15dc39d65cfd90d9d2c312c0e1614407a32e /drivers | |
parent | 0868e2538e45a9ed68e2b14adc42b020a36aae1d (diff) | |
download | linux-e425974feaa545575135f04e646f0495439b4c54.tar.bz2 |
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')
-rw-r--r-- | drivers/net/macsec.c | 2 |
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; |