vcl: fix read on closed sessions with mt apps 37/43137/2
authorFlorin Coras <[email protected]>
Tue, 10 Jun 2025 08:48:06 +0000 (04:48 -0400)
committerDave Barach <[email protected]>
Tue, 10 Jun 2025 20:23:02 +0000 (20:23 +0000)
commit26cac364ffbc76c2122bf4541b49aa9b81309c65
treed2e017864d8ca26c3485bcf3f16c80f653ea1d2e
parent2220078939568a52c09668a5fa37f5a4fe0b5b6d
vcl: fix read on closed sessions with mt apps

Apps like iperf can have a thread close a session that another thread
selects/epolls. Make sure to return error when that happens.

Type: fix

Change-Id: I586f8077431a28e7d8d3e4f21e45efcc035698ba
Signed-off-by: Florin Coras <[email protected]>
src/vcl/ldp.c
src/vcl/vppcom.c