aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2023-05-22 19:56:15 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2023-05-23 16:11:05 +0200
commit1fa1fe8ff161cc34620e31295235dc1e6d0dce77 (patch)
treed5699efef9beedd2746270d543da7c3a5e70fb3f /net/unix/af_unix.c
parent298970c8af9d73a9f3df4ac871a4456f87fd4cab (diff)
downloadlinux-1fa1fe8ff161cc34620e31295235dc1e6d0dce77.tar.gz
linux-1fa1fe8ff161cc34620e31295235dc1e6d0dce77.tar.bz2
linux-1fa1fe8ff161cc34620e31295235dc1e6d0dce77.zip
bpf, sockmap: Test shutdown() correctly exits epoll and recv()=0
When session gracefully shutdowns epoll needs to wake up and any recv() readers should return 0 not the -EAGAIN they previously returned. Note we use epoll instead of select to test the epoll wake on shutdown event as well. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com> Link: https://lore.kernel.org/bpf/20230523025618.113937-12-john.fastabend@gmail.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions