diff options
author | Eric Dumazet <[email protected]> | 2023-12-12 14:55:50 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-13 18:30:24 -0800 |
commit | 4746b36b1abe11ca32987b2d21e1e770deab17cc (patch) | |
tree | 2bef321b162bf78c928ecd84867341f612ede33a /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 36d8afbb2b89cdd4af1051d0a9afebb5511099df (diff) |
sctp: support MSG_ERRQUEUE flag in recvmsg()
For some reason sctp_poll() generates EPOLLERR if sk->sk_error_queue
is not empty but recvmsg() can not drain the error queue yet.
This is needed to better support timestamping.
I had to export inet_recv_error(), since sctp
can be compiled as a module.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Marcelo Ricardo Leitner <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Acked-by: Xin Long <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions