diff options
author | Florent Revest <[email protected]> | 2021-02-10 12:14:03 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-02-11 17:44:41 -0800 |
commit | c5dbb89fc2ac013afe67b9e4fcb3743c02b567cd (patch) | |
tree | 717c986e70611b002a57850957d7132121c7ec9f /tools/testing/selftests/bpf/progs/socket_cookie_prog.c | |
parent | 07881ccbf40cc7893869f3f170301889ddca54ac (diff) |
bpf: Expose bpf_get_socket_cookie to tracing programs
This needs a new helper that:
- can work in a sleepable context (using sock_gen_cookie)
- takes a struct sock pointer and checks that it's not NULL
Signed-off-by: Florent Revest <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: KP Singh <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/socket_cookie_prog.c')
0 files changed, 0 insertions, 0 deletions