diff options
author | Phil Sutter <phil@nwl.cc> | 2015-08-18 10:30:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-18 20:55:07 +0200 |
commit | 9ad09c5c05f7ce718d135ba8b55f9af733fc9b3f (patch) | |
tree | 8f99e7d532c7ffacd2cade6c8df0d796eff87432 /net | |
parent | net: batman-adv: convert to using IFF_NO_QUEUE (diff) | |
download | linux-9ad09c5c05f7ce718d135ba8b55f9af733fc9b3f.tar.xz linux-9ad09c5c05f7ce718d135ba8b55f9af733fc9b3f.zip |
net: hsr: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Arvid Brodin <arvid.brodin@alten.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/hsr/hsr_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c index 44d27469ae55..35a9788bb3ae 100644 --- a/net/hsr/hsr_device.c +++ b/net/hsr/hsr_device.c @@ -392,7 +392,7 @@ void hsr_dev_setup(struct net_device *dev) dev->header_ops = &hsr_header_ops; dev->netdev_ops = &hsr_device_ops; SET_NETDEV_DEVTYPE(dev, &hsr_type); - dev->tx_queue_len = 0; + dev->priv_flags |= IFF_NO_QUEUE; dev->destructor = hsr_dev_destroy; |