diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2025-01-30 17:52:10 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-02-03 07:32:37 +0100 |
commit | 10c4a9e1b383becd7366bda986f886675f7c4cb2 (patch) | |
tree | 2295d9904b217f7336fea0e1de011359c04bee7b /util.c | |
parent | dd6a6854c73a09c4091c1776ee7f349d1e1f966c (diff) | |
download | passt-10c4a9e1b383becd7366bda986f886675f7c4cb2.tar passt-10c4a9e1b383becd7366bda986f886675f7c4cb2.tar.gz passt-10c4a9e1b383becd7366bda986f886675f7c4cb2.tar.bz2 passt-10c4a9e1b383becd7366bda986f886675f7c4cb2.tar.lz passt-10c4a9e1b383becd7366bda986f886675f7c4cb2.tar.xz passt-10c4a9e1b383becd7366bda986f886675f7c4cb2.tar.zst passt-10c4a9e1b383becd7366bda986f886675f7c4cb2.zip |
tcp: Always pass NULL event with EPOLL_CTL_DEL
In tcp_epoll_ctl() we pass an event pointer with EPOLL_CTL_DEL, even though
it will be ignored. It's possible this was a workaround for pre-2.6.9
kernels which required a non-NULL pointer here, but we rely on the kernel
accepting NULL events for EPOLL_CTL_DEL in lots of other places. Use
NULL instead for simplicity and consistency.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions