git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netdev-dpdk: Remove alloc from packet recv.
[sliver-openvswitch.git]
/
lib
/
ofpbuf.c
diff --git
a/lib/ofpbuf.c
b/lib/ofpbuf.c
index
21d8df6
..
6a44a30
100644
(file)
--- a/
lib/ofpbuf.c
+++ b/
lib/ofpbuf.c
@@
-135,9
+135,7
@@
ofpbuf_uninit(struct ofpbuf *b)
if (b->source == OFPBUF_MALLOC) {
free(ofpbuf_base(b));
}
- if (b->source == OFPBUF_DPDK) {
- free_dpdk_buf(b);
- }
+ ovs_assert(b->source != OFPBUF_DPDK);
}
}