diff options
| author | Cong Wang <[email protected]> | 2021-06-15 02:13:40 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-06-21 14:48:37 +0000 |
| commit | 1581a6c1c3291a8320b080f4411345f60229976d (patch) | |
| tree | ba2c2d6e9abca323d08d235adfcfd7d0996be78e /drivers/usb/cdns3/cdns3-trace.c | |
| parent | skmsg: Fix a memory leak in sk_psock_verdict_apply() (diff) | |
| download | kernel-1581a6c1c3291a8320b080f4411345f60229976d.tar.gz kernel-1581a6c1c3291a8320b080f4411345f60229976d.zip | |
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 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
