mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
Revert "bridge: also trigger RTM_NEWLINK when interface is released from bridge"
This reverts commit 00ba4cb36d
.
Discussion with David Ahern determined that this change is
actually not needed.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0d4a6608f6
commit
eccaa9e51b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user