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:
4afbc0d
)
net: bonding: convert to using IFF_NO_QUEUE
author
Phil Sutter
<
[email protected]
>
Tue, 18 Aug 2015 08:30:39 +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: Jay Vosburgh <
[email protected]
>
Cc: Veaceslav Falico <
[email protected]
>
Cc: Andy Gospodarek <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/bonding/bond_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index 2d7d72c8851962a7fb8d8815dada4d69a1820032..0ef2ed3a610ec9d1fae6641ab74dd219a29692e9 100644
(file)
--- a/
drivers/net/bonding/bond_main.c
+++ b/
drivers/net/bonding/bond_main.c
@@
-4120,9
+4120,8
@@
void bond_setup(struct net_device *bond_dev)
SET_NETDEV_DEVTYPE(bond_dev, &bond_type);
/* Initialize the device options */
- bond_dev->tx_queue_len = 0;
bond_dev->flags |= IFF_MASTER|IFF_MULTICAST;
- bond_dev->priv_flags |= IFF_BONDING | IFF_UNICAST_FLT;
+ bond_dev->priv_flags |= IFF_BONDING | IFF_UNICAST_FLT
| IFF_NO_QUEUE
;
bond_dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING);
/* don't acquire bond device's netif_tx_lock when transmitting */