projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Return correct error code when dumping flow actions.
[cascardo/ovs.git]
/
datapath
/
datapath.c
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index
2b43774
..
a4ecfa5
100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-1223,10
+1223,8
@@
static int ovs_flow_cmd_fill_info(struct sw_flow *flow, struct datapath *dp,
nla_nest_cancel(skb, start);
}
- } else if (skb_orig_len) {
- err = -ENOMEM;
- goto error;
- }
+ } else if (skb_orig_len)
+ goto nla_put_failure;
return genlmsg_end(skb, ovs_header);