diff options
author | Phil Sutter <phil@nwl.cc> | 2015-08-18 11:30:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-18 21:55:07 +0300 |
commit | 9ad09c5c05f7ce718d135ba8b55f9af733fc9b3f (patch) | |
tree | 8f99e7d532c7ffacd2cade6c8df0d796eff87432 /net/hsr/hsr_device.c | |
parent | cdf7370391d3a482ef2f2a8c73d16c6db3dbecf0 (diff) | |
download | linux-9ad09c5c05f7ce718d135ba8b55f9af733fc9b3f.tar.xz |
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/hsr/hsr_device.c')
-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; |