aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2021-06-15 02:13:39 +0000
committerDaniel Borkmann <[email protected]>2021-06-21 14:48:33 +0000
commit0cf6672b23c8aa9d9274798dd63cbf6ede77ef90 (patch)
tree77b94072cb23f15461b0fb65adf635768e3c164c /drivers/usb/cdns3/cdns3-trace.c
parentskmsg: Clear skb redirect pointer before dropping it (diff)
downloadkernel-0cf6672b23c8aa9d9274798dd63cbf6ede77ef90.tar.gz
kernel-0cf6672b23c8aa9d9274798dd63cbf6ede77ef90.zip
skmsg: Fix a memory leak in sk_psock_verdict_apply()
If the dest psock does not set SK_PSOCK_TX_ENABLED, the skb can't be queued anywhere so must be dropped. This one is found during code review. Fixes: 799aa7f98d53 ("skmsg: Avoid lock_sock() in sk_psock_backlog()") 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