Revert "bridge: also trigger RTM_NEWLINK when interface is released from bridge"
authorDavid S. Miller <davem@davemloft.net>
Wed, 20 Sep 2017 22:39:59 +0000 (15:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Sep 2017 22:39:59 +0000 (15:39 -0700)
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>
net/bridge/br_ioctl.c

index 3148cb3a8e82e3bc5b13746d7d8a813dbd67b0c9..7970f8540cbbc0036b9e18c77a4feb0ec3b34264 100644 (file)
@@ -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;
 }