summaryrefslogtreecommitdiffstats
path: root/src/vnet/udp/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/udp/udp.h')
-rw-r--r--src/vnet/udp/udp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h
index 1494b33a8c3..d0e3bf3015d 100644
--- a/src/vnet/udp/udp.h
+++ b/src/vnet/udp/udp.h
@@ -218,6 +218,8 @@ udp_connection_clone_safe (u32 connection_index, u32 thread_index)
new_c->c_thread_index = current_thread_index;
new_c->c_c_index = udp_connection_index (new_c);
new_c->c_fib_index = old_c->c_fib_index;
+ /* Assume cloned sessions don't need lock */
+ new_c->rx_lock = 0;
return new_c;
}