tls: postpone ho cleanup if not fully established 56/40056/3
authorFlorin Coras <fcoras@cisco.com>
Tue, 5 Dec 2023 04:29:52 +0000 (20:29 -0800)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 13 Dec 2023 16:51:22 +0000 (16:51 +0000)
commita474bc8a3b4307869e97e6d76a8b06cfcebea49a
tree949e70293d5d5c0793c10c2db958a87f35a31ab4
parent2ae8f79b5087c8da7d30283693f22ca710a60347
tls: postpone ho cleanup if not fully established

If ho cleans up on first worker before owner of established session
receives connected notification, the ho session is prematurely cleaned
up.

Wait for established ctx to be allocated before freeing ho.

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Icf707e5d8c62a288a49d078460d2ada3b5c41b0e
src/vnet/tls/tls.c
src/vnet/tls/tls.h