summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2022-01-24 22:30:04 +0000
committerOle Tr�an <otroan@employees.org>2022-01-25 10:01:25 +0000
commit8d4db8bfb4b0d2ecd8bef37fa0650b779f03f1ef (patch)
tree873d36e463eb18ba2fbfb055174b77e7dc399c70
parent05a68d6ece72affa0a4683f51e94aa8aa0533db3 (diff)
ip: reassembly - fix missing ip6 owner thread init
Initialize ip6 memory owner thread index in reassembly context to avoid unnecessary handovers. Type: fix Fixes: 630ab5846bceddf8d663e9f488a2dc0378949827 Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: I2996caf1f82a0649c97d481b74dce24a96dce326
-rw-r--r--src/vnet/ip/reass/ip6_full_reass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ip/reass/ip6_full_reass.c b/src/vnet/ip/reass/ip6_full_reass.c
index c9509e3345e..12cacfc2f33 100644
--- a/src/vnet/ip/reass/ip6_full_reass.c
+++ b/src/vnet/ip/reass/ip6_full_reass.c
@@ -556,6 +556,7 @@ again:
reass->data_len = 0;
reass->next_index = ~0;
reass->error_next_index = ~0;
+ reass->memory_owner_thread_index = vm->thread_index;
++rt->reass_n;
}