提交 eccaa9e5 编写于 作者: D David S. Miller

Revert "bridge: also trigger RTM_NEWLINK when interface is released from bridge"

This reverts commit 00ba4cb3.

Discussion with David Ahern determined that this change is
actually not needed.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0d4a6608
...@@ -99,10 +99,8 @@ static int add_del_if(struct net_bridge *br, int ifindex, int isadd) ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册