vcl: validate vep handle when copying sessions on fork 34/32834/2
authorwanghanlin <wanghanlin@corp.netease.com>
Tue, 22 Jun 2021 09:34:08 +0000 (17:34 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 22 Jun 2021 14:30:15 +0000 (14:30 +0000)
commit5788a34be6ccdc974e87a4ce068056d1ef8e585f
treeb300c53b84c8ed93d3cdde4704412849bf8d66c3
parentd72a034bf9e12aabdb1df21cab0a5c86a3dca8fa
vcl: validate vep handle when copying sessions on fork

When copying sessions from parent on fork, we should validate vep handle
in order to EPOLL_CTL_DEL in vcl_session_cleanup correctly when child
exit.

Type: fix

Signed-off-by: wanghanlin <wanghanlin@corp.netease.com>
Change-Id: I7696ecd898460c9a296d2800e46c7140e2218ed7
src/vcl/vcl_locked.c