Repository navigation
Commit 283f2fe
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>1 parent 907cdda commit 283f2fe
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3757 | 3757 | | |
3758 | 3758 | | |
3759 | 3759 | | |
3760 | | - | |
3761 | | - | |
3762 | | - | |
| 3760 | + | |
| 3761 | + | |
3763 | 3762 | | |
3764 | | - | |
| 3763 | + | |
3765 | 3764 | | |
3766 | 3765 | | |
3767 | 3766 | | |
| |||
0 commit comments