diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 3401e2dab7cc..a5fc3e301cf2 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -6259,6 +6259,8 @@ int dev_change_net_namespace(struct net_device *dev, struct net *net, const char | |||
6259 | the device is just moving and can keep their slaves up. | 6259 | the device is just moving and can keep their slaves up. |
6260 | */ | 6260 | */ |
6261 | call_netdevice_notifiers(NETDEV_UNREGISTER, dev); | 6261 | call_netdevice_notifiers(NETDEV_UNREGISTER, dev); |
6262 | rcu_barrier(); | ||
6263 | call_netdevice_notifiers(NETDEV_UNREGISTER_FINAL, dev); | ||
6262 | rtmsg_ifinfo(RTM_DELLINK, dev, ~0U); | 6264 | rtmsg_ifinfo(RTM_DELLINK, dev, ~0U); |
6263 | 6265 | ||
6264 | /* | 6266 | /* |