aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorliuyacan <liuyacan@corp.netease.com>2021-07-24 22:48:36 +0800
committeryacan liu <liuyacan@corp.netease.com>2021-07-25 01:58:40 +0000
commit6fc07b43267d1433ba67c5799341ee54eb4bd8fb (patch)
treebb06d52e40281e7181eca702b56b3e77281f4a86 /src
parent9609e26f8712246f62d54c1178aefce57e3b6c06 (diff)
vcl: fix shutdown deadlock issue
Type: fix Signed-off-by: liuyacan <liuyacan@corp.netease.com> Change-Id: I4974815ecb0e3bff01af983f086ca15d77fd6fb4
Diffstat (limited to 'src')
-rw-r--r--src/vcl/vcl_locked.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_locked.c b/src/vcl/vcl_locked.c
index baacdd0a472..4330d4179c6 100644
--- a/src/vcl/vcl_locked.c
+++ b/src/vcl/vcl_locked.c
@@ -1362,7 +1362,7 @@ vls_shutdown (vls_handle_t vlsh, int how)
return VPPCOM_EBADFD;
vls_mt_guard (vls, VLS_MT_OP_SPOOL);
- rv = vppcom_session_shutdown (vls_to_sh (vls), how);
+ rv = vppcom_session_shutdown (vls_to_sh_tu (vls), how);
vls_mt_unguard ();
vls_get_and_unlock (vlsh);