projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71896e5
)
datapath: Fix return value when ODP_FLOW_PUT fails to allocate a flow.
author
Ben Pfaff
<blp@nicira.com>
Tue, 26 May 2009 17:40:09 +0000
(10:40 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 26 May 2009 17:40:09 +0000
(10:40 -0700)
Noticed by Justin.
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index 8e9a5602054b179863ac96b53793aeb63de13f9d..d4dac8561943d967bf8c65390d31d484e7a72c25 100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-872,6
+872,7
@@
retry:
}
/* Allocate flow. */
+ error = -ENOMEM;
flow = kmem_cache_alloc(flow_cache, GFP_KERNEL);
if (flow == NULL)
goto error;