diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-12-17 12:47:51 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-12-20 10:05:20 +0000 |
commit | 4ab6ad136b62add35598f3c354231701b7c14c65 (patch) | |
tree | 5cff25e84550e4b7855774e7213efd61bfe7a5cc /src/vppinfra/mem.c | |
parent | e3241f04410fa45099f958f77636b80293904fc3 (diff) |
ip: SVR fix race condition
There could be a race condition where two fragments of one chain end up
at the same time on different workers, one overwriting others hash
entry. Add a check for that and restart processing on the unlucky worker
who ends up being second from hash table POV. This will then result in a
proper handover to worker now owning this reassembly.
Type: fix
Fixes: de34c35fc73226943538149fae9dbc5cfbdc6e75
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I9eb29c5cb1ffe3b5eb1d5a638e17ab7ba2628d28
Diffstat (limited to 'src/vppinfra/mem.c')
0 files changed, 0 insertions, 0 deletions