mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
[BRIDGE]: netlink status fix
Fix code that passes back netlink status messages about bridge changes. Submitted by Aji_Srinivas@emc.com Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f5d635f649
commit
bea1b42e1b
@ -85,7 +85,7 @@ void br_ifinfo_notify(int event, struct net_bridge_port *port)
|
|||||||
goto err_out;
|
goto err_out;
|
||||||
|
|
||||||
err = br_fill_ifinfo(skb, port, current->pid, 0, event, 0);
|
err = br_fill_ifinfo(skb, port, current->pid, 0, event, 0);
|
||||||
if (err)
|
if (err < 0)
|
||||||
goto err_kfree;
|
goto err_kfree;
|
||||||
|
|
||||||
NETLINK_CB(skb).dst_group = RTNLGRP_LINK;
|
NETLINK_CB(skb).dst_group = RTNLGRP_LINK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user