diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-10-21 06:24:20 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:35:50 -0800 |
commit | 32779fa06584fdcab2228a36c3a846fa0a6f5cdb (patch) | |
tree | 9ff99339f24d0a67edee4faeba3df2b0637eeaaf /net/mac80211 | |
parent | e277beeb68b1f1e9326d57913a41549744002449 (diff) | |
download | kernel_samsung_aries-32779fa06584fdcab2228a36c3a846fa0a6f5cdb.zip kernel_samsung_aries-32779fa06584fdcab2228a36c3a846fa0a6f5cdb.tar.gz kernel_samsung_aries-32779fa06584fdcab2228a36c3a846fa0a6f5cdb.tar.bz2 |
rtnetlink: Add missing manual netlink notification in dev_change_net_namespaces
commit d2237d35748e7f448a9c2d9dc6a85ef637466e24 upstream.
Renato Westphal noticed that since commit a2835763e130c343ace5320c20d33c281e7097b7
"rtnetlink: handle rtnl_link netlink notifications manually" was merged
we no longer send a netlink message when a networking device is moved
from one network namespace to another.
Fix this by adding the missing manual notification in dev_change_net_namespaces.
Since all network devices that are processed by dev_change_net_namspaces are
in the initialized state the complicated tests that guard the manual
rtmsg_ifinfo calls in rollback_registered and register_netdevice are
unnecessary and we can just perform a plain notification.
Tested-by: Renato Westphal <renatowestphal@gmail.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions