Skip to content

Commit

Permalink
Revert "bridge: also trigger RTM_NEWLINK when interface is released f…
Browse files Browse the repository at this point in the history
…rom bridge"

This reverts commit 00ba4cb.

Discussion with David Ahern determined that this change is
actually not needed.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 20, 2017
1 parent 0d4a660 commit eccaa9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions net/bridge/br_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eccaa9e

Please sign in to comment.