mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
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>
This commit is contained in:
parent
0868e2538e
commit
e425974fea
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user