diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index d94537914a71..bcb05cb799c1 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -4294,10 +4294,8 @@ int netdev_set_master(struct net_device *slave, struct net_device *master) | |||
4294 | 4294 | ||
4295 | slave->master = master; | 4295 | slave->master = master; |
4296 | 4296 | ||
4297 | if (old) { | 4297 | if (old) |
4298 | synchronize_net(); | ||
4299 | dev_put(old); | 4298 | dev_put(old); |
4300 | } | ||
4301 | return 0; | 4299 | return 0; |
4302 | } | 4300 | } |
4303 | EXPORT_SYMBOL(netdev_set_master); | 4301 | EXPORT_SYMBOL(netdev_set_master); |