projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776e53a
)
brcompat: Fix sign of return value.
author
Ben Pfaff
<blp@nicira.com>
Sun, 15 Mar 2009 03:49:58 +0000
(20:49 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Sun, 15 Mar 2009 03:49:58 +0000
(20:49 -0700)
Thanks to Justin for pointing this out.
datapath/brcompat.c
patch
|
blob
|
history
diff --git
a/datapath/brcompat.c
b/datapath/brcompat.c
index 10d8c8cece24232fa257910dfbe82e5363a78fdb..709c838cc9b16a7ca2fb6fa41699c9425055898c 100644
(file)
--- a/
datapath/brcompat.c
+++ b/
datapath/brcompat.c
@@
-405,7
+405,7
@@
int brc_send_port_add_del(struct net_device *dev, struct net_device *port,
dev = __dev_get_by_index(&init_net, dev_ifindex);
port = __dev_get_by_index(&init_net, port_ifindex);
if (!dev || !port)
- return ENODEV;
+ return
-
ENODEV;
if (add && port->br_port)
return port->br_port->dev ? 0 : -EBUSY;