Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c5c2bb3
)
punt: free whole buffer chain if such is punted
17/9217/2
author
Klement Sekera
<ksekera@cisco.com>
Fri, 3 Nov 2017 05:39:28 +0000
(06:39 +0100)
committer
Ole Trøan
<otroan@employees.org>
Fri, 3 Nov 2017 14:23:12 +0000
(14:23 +0000)
Change-Id: I1326f21f0a00a201d2bdb55b73af14fca6ba8888
Signed-off-by: Klement Sekera <ksekera@cisco.com>
src/vnet/ip/punt.c
patch
|
blob
|
history
diff --git
a/src/vnet/ip/punt.c
b/src/vnet/ip/punt.c
index
0869954
..
651542f
100644
(file)
--- a/
src/vnet/ip/punt.c
+++ b/
src/vnet/ip/punt.c
@@
-370,7
+370,7
@@
udp46_punt_socket_inline (vlib_main_t * vm,
}
error:
- vlib_buffer_free
_no_next
(vm, buffers, n_packets);
+ vlib_buffer_free (vm, buffers, n_packets);
return n_packets;
}