aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2021-06-15 02:13:40 +0000
committerDaniel Borkmann <[email protected]>2021-06-21 14:48:37 +0000
commit1581a6c1c3291a8320b080f4411345f60229976d (patch)
treeba2c2d6e9abca323d08d235adfcfd7d0996be78e /drivers/usb/cdns3/cdns3-trace.c
parentskmsg: Fix a memory leak in sk_psock_verdict_apply() (diff)
downloadkernel-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