diff options
author | Cong Wang <[email protected]> | 2021-06-14 19:13:39 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-06-21 16:48:33 +0200 |
commit | 0cf6672b23c8aa9d9274798dd63cbf6ede77ef90 (patch) | |
tree | 77b94072cb23f15461b0fb65adf635768e3c164c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 30b9c54a707db4155735cf71f4600241c1b7b6ff (diff) |
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 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions