projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15c3984
)
datapath: Use kfree_skb() only on error paths.
author
Ben Pfaff
<blp@nicira.com>
Fri, 21 Oct 2011 23:38:35 +0000
(16:38 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 21 Oct 2011 23:56:35 +0000
(16:56 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index 10bf4b9e477f4a14efe60f744f1def8bce43ebb9..de2f76b0b51207a8a616e6a1592ef328b34a2962 100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-309,7
+309,7
@@
void dp_process_received_packet(struct vport *p, struct sk_buff *skb)
upcall.userdata = NULL;
upcall.pid = p->upcall_pid;
dp_upcall(dp, skb, &upcall);
-
kfre
e_skb(skb);
+
consum
e_skb(skb);
stats_counter = &stats->n_missed;
goto out;
}