summaryrefslogtreecommitdiff
path: root/net/bridge/br_if.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-10-21 06:24:20 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-24 03:03:37 -0400
commitd2237d35748e7f448a9c2d9dc6a85ef637466e24 (patch)
tree205b25d57e22e4be8991a2b3d9ec951c87ca4f8f /net/bridge/br_if.c
parentb73233960a59ee66e09d642f13d0592b13651e94 (diff)
downloadlwn-d2237d35748e7f448a9c2d9dc6a85ef637466e24.tar.gz
lwn-d2237d35748e7f448a9c2d9dc6a85ef637466e24.zip
rtnetlink: Add missing manual netlink notification in dev_change_net_namespaces
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. Cc: stable@kernel.org 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>
Diffstat (limited to 'net/bridge/br_if.c')
0 files changed, 0 insertions, 0 deletions