git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d935a6
)
datapath: Fix ovs_vport_cmd_new return value on success
author
Rich Lane
<rlane@bigswitch.com>
Fri, 8 Feb 2013 20:09:31 +0000
(12:09 -0800)
committer
Jesse Gross
<jesse@nicira.com>
Fri, 8 Feb 2013 21:11:39 +0000
(13:11 -0800)
This bug was introduced in
1fc7083d
(datapath: Remove vport MAC address
configuration.)
Signed-off-by: Rich Lane <rlane@bigswitch.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index
f78c232
..
87c96ae
100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-1967,6
+1967,7
@@
static int ovs_vport_cmd_new(struct sk_buff *skb, struct genl_info *info)
if (IS_ERR(vport))
goto exit_unlock;
+ err = 0;
if (a[OVS_VPORT_ATTR_STATS])
ovs_vport_set_stats(vport, nla_data(a[OVS_VPORT_ATTR_STATS]));