summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-09-20 15:39:59 -0700
committerDavid S. Miller <davem@davemloft.net>2017-09-20 15:39:59 -0700
commiteccaa9e51b77e504fa8e8357e4979bde724e22a8 (patch)
tree54fa53951198e224676586f67885ccb6285019e7 /net/bridge
parent0d4a6608f68c7532dcbfec2ea1150c9761767d03 (diff)
downloadlinux-eccaa9e51b77e504fa8e8357e4979bde724e22a8.tar.gz
linux-eccaa9e51b77e504fa8e8357e4979bde724e22a8.tar.bz2
linux-eccaa9e51b77e504fa8e8357e4979bde724e22a8.zip
Revert "bridge: also trigger RTM_NEWLINK when interface is released from bridge"
This reverts commit 00ba4cb36da682c68dc87d1703a8aaffe2b4e9c5. Discussion with David Ahern determined that this change is actually not needed. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_ioctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bridge/br_ioctl.c b/net/bridge/br_ioctl.c
index 3148cb3a8e82..7970f8540cbb 100644
--- a/net/bridge/br_ioctl.c
+++ b/net/bridge/br_ioctl.c
@@ -99,10 +99,8 @@ static int add_del_if(struct net_bridge *br, int ifindex, int isadd)
if (isadd)
ret = br_add_if(br, dev);
- else {
+ else
ret = br_del_if(br, dev);
- rtmsg_ifinfo(RTM_NEWLINK, dev, IFF_MASTER, GFP_KERNEL);
- }
return ret;
}