diff options
author | wanghanlin <wanghanlin@corp.netease.com> | 2023-08-07 17:23:53 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-08-07 16:58:07 +0000 |
commit | 696db20e332fcbecaaef9c5505cc2e132bfaa9e2 (patch) | |
tree | 1d26dbae5882588312da8c58585d220b5df82bf7 /src/vcl/vcl_sapi.c | |
parent | b22da9c7d101dca833a5c4183e7cf13943f16715 (diff) |
vcl: fix error state switch for VCL_STATE_LISTEN_NO_MQ sessions
When a VCL_STATE_LISTEN_NO_MQ session receives an ACCEPTED message,
but then receives either a RESET or DISCONNECTED message from VPP
before the session is unlistened, the listen session state is
switched to DISCONNECT.
The subsequent CLEANUP message handler attempts to send a reset
reply message to VPP, but since the vpp_evt_q for the listen
session is null, this leads to a crash.
Type: fix
Change-Id: Id7e88dcb16df3eda912b3f763730ec8d8973473a
Signed-off-by: wanghanlin <wanghanlin@corp.netease.com>
Diffstat (limited to 'src/vcl/vcl_sapi.c')
0 files changed, 0 insertions, 0 deletions