diff options
author | Cong Wang <[email protected]> | 2021-10-08 13:33:05 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-10-26 12:29:33 -0700 |
commit | af493388950b6ea3a86f860cfaffab137e024fc8 (patch) | |
tree | 455eada3764f5a609fca659442e3cc5a43e4d7dd /lib/test_overflow.c | |
parent | fb4e0a5e73d4bb5ab69b7905abd2ec3b580e9b59 (diff) |
net: Implement ->sock_is_readable() for UDP and AF_UNIX
Yucong noticed we can't poll() sockets in sockmap even
when they are the destination sockets of redirections.
This is because we never poll any psock queues in ->poll(),
except for TCP. With ->sock_is_readable() now we can
overwrite >sock_is_readable(), invoke and implement it for
both UDP and AF_UNIX sockets.
Reported-by: Yucong Sun <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions