projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db6da1
)
net: batman-adv: convert to using IFF_NO_QUEUE
author
Phil Sutter
<
[email protected]
>
Tue, 18 Aug 2015 08:30:44 +0000
(10:30 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 18 Aug 2015 18:55:07 +0000
(11:55 -0700)
Signed-off-by: Phil Sutter <
[email protected]
>
Cc: Marek Lindner <
[email protected]
>
Cc: Simon Wunderlich <
[email protected]
>
Cc: Antonio Quartulli <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/batman-adv/soft-interface.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/soft-interface.c
b/net/batman-adv/soft-interface.c
index 51cda3a7c51db3d52fa5daeeece801f163e33c20..49d3d3aa59cba2777ed1697f5b5bd7cbc8ffd217 100644
(file)
--- a/
net/batman-adv/soft-interface.c
+++ b/
net/batman-adv/soft-interface.c
@@
-941,7
+941,7
@@
static void batadv_softif_init_early(struct net_device *dev)
dev->netdev_ops = &batadv_netdev_ops;
dev->destructor = batadv_softif_free;
dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER;
- dev->
tx_queue_len = 0
;
+ dev->
priv_flags |= IFF_NO_QUEUE
;
/* can't call min_mtu, because the needed variables
* have not been initialized yet