tls: allow disconnects from main thread 08/23008/2
authorFlorin Coras <[email protected]>
Fri, 11 Oct 2019 15:00:43 +0000 (08:00 -0700)
committerAndrew Yourtchenko <[email protected]>
Tue, 29 Oct 2019 09:48:30 +0000 (09:48 +0000)
commite68fe9c5163a74f39e400dc44c711677ddb01466
tree38bc3382373b652c8d3c304835dc25fe078899cf
parentcdb11ea3299ef953066b159fd34f054c2f6f2f00
tls: allow disconnects from main thread

Type: fix

Use api with explicit thread index to retrieve tls contex on close.

Change-Id: Ibdc4338747300b7fc8f91ef3e10bcd48ce7ae366
Signed-off-by: Florin Coras <[email protected]>
(cherry picked from commit 6faac1622e0d5352da987c73a6f3f1ec55896116)
src/vnet/tls/tls.c