vcl: fix listener session close problem 72/30372/2
authorwanghanlin <wanghanlin@corp.netease.com>
Thu, 10 Dec 2020 11:12:22 +0000 (19:12 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 11 Dec 2020 02:24:36 +0000 (02:24 +0000)
Type: fix

Signed-off-by: wanghanlin <wanghanlin@corp.netease.com>
Change-Id: I34ac04f05b84b271679aafc253f1606f11e29835

src/vcl/vppcom.c

index 6c85cee..9c99f66 100644 (file)
@@ -1175,7 +1175,7 @@ vppcom_session_unbind (u32 session_handle)
       vcl_session_table_del_vpp_handle (wrk, accepted_msg->handle);
       vcl_send_session_accepted_reply (session->vpp_evt_q,
                                       accepted_msg->context,
-                                      session->vpp_handle, -1);
+                                      accepted_msg->handle, -1);
     }
   clib_fifo_free (session->accept_evts_fifo);