Commit 4493b81b authored by Mahesh Bandewar's avatar Mahesh Bandewar Committed by David S. Miller
Browse files

bonding: initialize work-queues during creation of bond

Initializing work-queues every time ifup operation performed is unnecessary
and can be performed only once when the port is created.

Signed-off-by: default avatarMahesh Bandewar <>
Signed-off-by: default avatarDavid S. Miller <>
parent d5e73f7b
......@@ -3270,8 +3270,6 @@ static int bond_open(struct net_device *bond_dev)
if (bond_is_lb(bond)) {
/* bond_alb_initialize must be called before the timer
* is started.
......@@ -4691,6 +4689,8 @@ int bond_create(struct net *net, const char *name)
if (res < 0)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment