diff options
author | Cong Wang <[email protected]> | 2021-06-14 19:13:38 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-06-21 16:48:29 +0200 |
commit | 30b9c54a707db4155735cf71f4600241c1b7b6ff (patch) | |
tree | 4b806faa13566c1becbb29ea20c3153a7b172813 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | e00a5c331bf57f41fcfdc5da4f5caeafe5e54c1d (diff) |
skmsg: Clear skb redirect pointer before dropping it
When we drop skb inside sk_psock_skb_redirect(), we have to clear
its skb->_sk_redir pointer too, otherwise kfree_skb() would
misinterpret it as a valid skb->_skb_refdst and dst_release()
would eventually complain.
Fixes: e3526bb92a20 ("skmsg: Move sk_redir from TCP_SKB_CB to skb")
Reported-by: Jiang Wang <[email protected]>
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