aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/udp/udp_input.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-03-18 12:50:03 -0700
committerDamjan Marion <dmarion@me.com>2022-04-04 22:30:48 +0000
commita2b358b1faf6e762e1d29a931d83c7735ac9a77d (patch)
tree23e6c4feea3f1abd5aa26400eb90873978f328cd /src/vnet/udp/udp_input.c
parentb01873208bd6201e83f806699ad11dfb5ee2939e (diff)
udp: use pool safe reallocs
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I5bd0b300af07424d1ce4807fa0b17e375001f089
Diffstat (limited to 'src/vnet/udp/udp_input.c')
-rw-r--r--src/vnet/udp/udp_input.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vnet/udp/udp_input.c b/src/vnet/udp/udp_input.c
index e701ca5d12e..f6c55f6722e 100644
--- a/src/vnet/udp/udp_input.c
+++ b/src/vnet/udp/udp_input.c
@@ -251,11 +251,6 @@ udp46_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
goto done;
}
- /*
- * If session exists pool peeker lock is taken at this point unless
- * the session is already on the right thread or is a listener
- */
-
if (s0->session_state == SESSION_STATE_OPENED)
{
u8 queue_event = 1;