Skip to content

Commit

Permalink
[BRIDGE]: netlink status fix
Browse files Browse the repository at this point in the history
Fix code that passes back netlink status messages about
bridge changes. Submitted by [email protected]

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Aug 5, 2006
1 parent f5d635f commit bea1b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/br_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void br_ifinfo_notify(int event, struct net_bridge_port *port)
goto err_out;

err = br_fill_ifinfo(skb, port, current->pid, 0, event, 0);
if (err)
if (err < 0)
goto err_kfree;

NETLINK_CB(skb).dst_group = RTNLGRP_LINK;
Expand Down

0 comments on commit bea1b42

Please sign in to comment.