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:
2e659c0
)
net: bridge: convert to using IFF_NO_QUEUE
author
Phil Sutter
<
[email protected]
>
Tue, 18 Aug 2015 08:30:37 +0000
(10:30 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 18 Aug 2015 18:55:06 +0000
(11:55 -0700)
Signed-off-by: Phil Sutter <
[email protected]
>
Cc: Stephen Hemminger <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/bridge/br_device.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_device.c
b/net/bridge/br_device.c
index 0aa8f5cf46a17171c627e6949c51e684f28a58ed..6ed2feb51e3c7ae3d0f0fd629d6e147549b5fa54 100644
(file)
--- a/
net/bridge/br_device.c
+++ b/
net/bridge/br_device.c
@@
-365,8
+365,7
@@
void br_dev_setup(struct net_device *dev)
dev->destructor = br_dev_free;
dev->ethtool_ops = &br_ethtool_ops;
SET_NETDEV_DEVTYPE(dev, &br_type);
- dev->tx_queue_len = 0;
- dev->priv_flags = IFF_EBRIDGE;
+ dev->priv_flags = IFF_EBRIDGE | IFF_NO_QUEUE;
dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL |
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;