vcl: EPOLLOUT should be generated when epoll_ctl called with EPOLLOUT 65/28265/2
authorhanlin <[email protected]>
Thu, 26 Dec 2019 03:44:28 +0000 (11:44 +0800)
committerDave Wallace <[email protected]>
Wed, 12 Aug 2020 14:37:52 +0000 (14:37 +0000)
commit6104daa550b702b59ac6764efba593261d68c743
treecdc0cdb524898410aefb64b1447396bd161efa24
parentc69b18f818410fa297b25ed961bd05f139643f4b
vcl: EPOLLOUT should be generated when epoll_ctl called with EPOLLOUT
event

Type: fix

When we call epoll_ctl to add or mod fd with EPOLLOUT event, mostly to
check if we can write. So we expect a EPOLLOUT event should be generated
immediately unless tx queue is full.

Signed-off-by: hanlin <[email protected]>
Change-Id: Ie99986a44dbb07b6ff2fba6512171056f79e77bd
(cherry picked from commit 475c9d7bcd0f2ceca77022eaef67ad9a84365609)
src/vcl/vppcom.c