diff options
author | Steven <sluong@cisco.com> | 2018-09-08 14:06:16 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-09-09 20:26:40 +0000 |
commit | 97f592f474ebaeba0c9a0f50db8f5627cc444aca (patch) | |
tree | dde4cf9004ddf5844493747f387b9473383dafac /src/vat | |
parent | d4d7e8ad84cb24cee31f10d5bfedab715df65754 (diff) |
vlib: crash in linux_epoll_input_inline for accessing free file index [VPP-1412]
Under rare scenario, epoll may still post an event to VPP although the file
descriptor is already deleted via epoll_ctl (EPOLL_CTL_DEL) and the file
descriptor is close. VPP tries to access the free file index entry and crash.
The fix is to throw away the events which the file descriptor is already deleted.
Change-Id: Ieca3a1873aecb28630c3abc42c40341f27c2faa7
Signed-off-by: Steven <sluong@cisco.com>
(cherry picked from commit aec7297ba012e1fe4bbf85cdaec8e810aa476cea)
Diffstat (limited to 'src/vat')
0 files changed, 0 insertions, 0 deletions