John Fastabend 1fa1fe8ff1 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
2023-05-23 16:11:05 +02:00
..
2023-04-24 12:28:34 -07:00
2023-04-29 10:05:22 -07:00
2023-02-23 09:37:29 -08:00
2023-03-01 09:27:00 -08:00
2023-02-23 09:37:29 -08:00
2023-04-18 16:53:52 -07:00
2023-05-04 13:09:43 -07:00
2023-04-25 11:05:04 -07:00
2023-04-24 12:16:14 -07:00
2023-02-23 09:37:29 -08:00
2023-03-01 09:27:00 -08:00
2023-04-11 14:10:47 -06:00