aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-11-03 06:39:28 +0100
committerOle Trøan <otroan@employees.org>2017-11-03 14:23:12 +0000
commit0dc11a11207d64a81f937cde0d38a80629b937e2 (patch)
treeea6f4e784d0b0ef091c107a0f18f8d827995df5f /src/vnet
parentc5c2bb3f042fe11184faa731b6209444e2c05231 (diff)
punt: free whole buffer chain if such is punted
Change-Id: I1326f21f0a00a201d2bdb55b73af14fca6ba8888 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ip/punt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/punt.c b/src/vnet/ip/punt.c
index 0869954c283..651542fa2c8 100644
--- 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;
}