diff options
author | Benoît Ganne <bganne@cisco.com> | 2022-12-22 15:01:32 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-12-23 17:18:53 +0000 |
commit | c5b0fcd159d471f0422b303a2efa5ba6e8ddfcd6 (patch) | |
tree | df43592fa4aec20ddf0eaaf7db229e78042e5968 /src/vat2/vat2_helpers.h | |
parent | b89db0cf75a5fe2768b7ef53fac2efb8c4b84ca0 (diff) |
hsa: fix echo client workers initialization
We were creating an additional worker not backed by any VPP threads,
leading off-by-1 access in the session main workers vector.
Also uses vec_elt_at_index() when accessing session main workers vector
elements to catch those errors more easily.
Type: fix
Change-Id: I6059116b7b64ae6b26ad83c1fcf55df8522868ad
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vat2/vat2_helpers.h')
0 files changed, 0 insertions, 0 deletions