mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-18 12:45:08 +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
1 changed files with 1 additions and 3 deletions
|
@ -99,10 +99,8 @@ static int add_del_if(struct net_bridge *br, int ifindex, int isadd)
|
||||||
|
|
||||||
if (isadd)
|
if (isadd)
|
||||||
ret = br_add_if(br, dev);
|
ret = br_add_if(br, dev);
|
||||||
else {
|
else
|
||||||
ret = br_del_if(br, dev);
|
ret = br_del_if(br, dev);
|
||||||
rtmsg_ifinfo(RTM_NEWLINK, dev, IFF_MASTER, GFP_KERNEL);
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue