projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d635f
)
[BRIDGE]: netlink status fix
author
Stephen Hemminger
<shemminger@osdl.org>
Thu, 3 Aug 2006 23:24:02 +0000
(16:24 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 5 Aug 2006 05:59:48 +0000
(22:59 -0700)
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>
net/bridge/br_netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_netlink.c
b/net/bridge/br_netlink.c
index 06abb6634f5be777a374c389b1d4778cb79ee210..53086fb75089346c0fd8658a0d2edcc41d9324ce 100644
(file)
--- a/
net/bridge/br_netlink.c
+++ b/
net/bridge/br_netlink.c
@@
-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;