aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2022-06-15 09:20:13 -0700
committerDaniel Borkmann <[email protected]>2022-06-20 14:05:52 +0200
commit57452d767feaeab405de3bff0d240c3ac84bfe0d (patch)
tree3462cefaa340f3d51248adfee7feb7bedf879b19 /tools/perf/scripts/python/stat-cpi.py
parent965b57b469a589d64d81b1688b38dcb537011bb0 (diff)
skmsg: Get rid of skb_clone()
With ->read_skb() now we have an entire skb dequeued from receive queue, now we just need to grab an addtional refcnt before passing its ownership to recv actors. And we should not touch them any more, particularly for skb->sk. Fortunately, skb->sk is already set for most of the protocols except UDP where skb->sk has been stolen, so we have to fix it up for UDP case. Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions