diff options
author | Cong Wang <[email protected]> | 2021-10-08 13:33:04 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-10-26 12:29:33 -0700 |
commit | fb4e0a5e73d4bb5ab69b7905abd2ec3b580e9b59 (patch) | |
tree | f870a8ccb700b39fd1d5e50d306031b9b38eb069 /lib/test_overflow.c | |
parent | 7b50ecfcc6cdfe87488576bc3ed443dc8d083b90 (diff) |
skmsg: Extract and reuse sk_msg_is_readable()
tcp_bpf_sock_is_readable() is pretty much generic,
we can extract it and reuse it for non-TCP sockets.
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