Commit e425974f authored by Phil Sutter's avatar Phil Sutter Committed by David S. Miller

macsec: Convert to using IFF_NO_QUEUE

Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
Acked-by: default avatarSabrina Dubroca <sd@queasysnail.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0868e253
...@@ -2826,7 +2826,7 @@ static void macsec_free_netdev(struct net_device *dev) ...@@ -2826,7 +2826,7 @@ static void macsec_free_netdev(struct net_device *dev)
static void macsec_setup(struct net_device *dev) static void macsec_setup(struct net_device *dev)
{ {
ether_setup(dev); ether_setup(dev);
dev->tx_queue_len = 0; dev->priv_flags |= IFF_NO_QUEUE;
dev->netdev_ops = &macsec_netdev_ops; dev->netdev_ops = &macsec_netdev_ops;
dev->destructor = macsec_free_netdev; dev->destructor = macsec_free_netdev;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment