projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdf7370
)
net: hsr: convert to using IFF_NO_QUEUE
author
Phil Sutter
<phil@nwl.cc>
Tue, 18 Aug 2015 08:30:45 +0000
(10:30 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Aug 2015 18:55:07 +0000
(11:55 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Arvid Brodin <arvid.brodin@alten.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c
patch
|
blob
|
blame
|
history
diff --git
a/net/hsr/hsr_device.c
b/net/hsr/hsr_device.c
index 44d27469ae55982d1895021b79ba76a85c1324a8..35a9788bb3ae734d8e5b2f5199901a6c47f7a587 100644
(file)
--- 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;