vcl: do not stop listeners on vls epoll del 85/38385/3
authorFlorin Coras <fcoras@cisco.com>
Thu, 2 Mar 2023 06:22:30 +0000 (22:22 -0800)
committerDave Wallace <dwallacelf@gmail.com>
Mon, 6 Mar 2023 23:01:19 +0000 (23:01 +0000)
commita41a0b5a4c8430a6141fc847d43484ab1c4b2a0a
treeaa699eea67aac28b7dd6057a1ba783fbbce28c57
parentc86662a213ce751354ac513a3da95117fff31845
vcl: do not stop listeners on vls epoll del

Although removal from epoll means listener no longer accepts new
sessions, the accept queue built by vpp cannot be drained by stopping
the listener. Morover, some applications, e.g., nginx, might constantly
remove and add listeners to their epfds. Removing listeners in such
situations causes a lot of churn in vpp as segments and segment managers
need to be recreated.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia412b3f8d50fbb4881a99ff024f798353b521af7
src/vcl/vcl_locked.c