diff options
author | Cong Wang <[email protected]> | 2021-06-14 19:13:40 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-06-21 16:48:37 +0200 |
commit | 1581a6c1c3291a8320b080f4411345f60229976d (patch) | |
tree | ba2c2d6e9abca323d08d235adfcfd7d0996be78e /tools/perf/scripts/python/stackcollapse.py | |
parent | 0cf6672b23c8aa9d9274798dd63cbf6ede77ef90 (diff) |
skmsg: Teach sk_psock_verdict_apply() to return errors
Currently sk_psock_verdict_apply() is void, but it handles some
error conditions too. Its caller is impossible to learn whether
it succeeds or fails, especially sk_psock_verdict_recv().
Make it return int to indicate error cases and propagate errors
to callers properly.
Fixes: ef5659280eb1 ("bpf, sockmap: Allow skipping sk_skb parser program")
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Jakub Sitnicki <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions