net: speedup netdev_set_master()
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 18 Mar 2010 13:37:40 +0000 (13:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2010 01:34:15 +0000 (18:34 -0700)
commit283f2fe87e980d8af5ad8aa63751e7e3258ee05a
tree43876fc3958a8c59cd4fd7a7815ed8fd56dcd84b
parent907cdda5205b012eec7513f66713749b293188c9
net: speedup netdev_set_master()

We currently force a synchronize_net() in netdev_set_master()

This seems necessary only when a slave had a master and we dismantle it.

In the other case ("ifenslave bond0 ethO"), we dont need this long
delay.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c