diff options
author | David S. Miller <davem@davemloft.net> | 2017-09-20 15:39:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-20 15:39:59 -0700 |
commit | eccaa9e51b77e504fa8e8357e4979bde724e22a8 (patch) | |
tree | 54fa53951198e224676586f67885ccb6285019e7 /net/bridge/br_ioctl.c | |
parent | 0d4a6608f68c7532dcbfec2ea1150c9761767d03 (diff) | |
download | linux-eccaa9e51b77e504fa8e8357e4979bde724e22a8.tar.bz2 |
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/br_ioctl.c')
-rw-r--r-- | net/bridge/br_ioctl.c | 4 |
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; } |