vcl: EPOLLOUT should be generated when epoll_ctl called with EPOLLOUT 29/24129/3
authorhanlin <hanlin_wang@163.com>
Thu, 26 Dec 2019 03:44:28 +0000 (11:44 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 27 Dec 2019 04:53:22 +0000 (04:53 +0000)
commit475c9d7bcd0f2ceca77022eaef67ad9a84365609
tree24b3074b3589ada4844d6e1c8c9d2f1f7b640b87
parent3f7b0f4a7cd30a88a913a963c38b8361738065d6
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 <hanlin_wang@163.com>
Change-Id: Ie99986a44dbb07b6ff2fba6512171056f79e77bd
src/vcl/vppcom.c