diff options
| author | Liu Jian <[email protected]> | 2022-04-27 19:51:50 +0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-04-28 23:40:01 +0200 |
| commit | 3527bfe6a92d940abfca87929207e734039f496b (patch) | |
| tree | e476bb3fbfef579a4a060fc3d34a51db9f52d447 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9a9a90ca1327024f669b670b02f61021306033dc (diff) | |
bpf, sockmap: Call skb_linearize only when required in sk_psock_skb_ingress_enqueue
The skb_to_sgvec fails only when the number of frag_list and frags
exceeds MAX_MSG_FRAGS. Therefore, we can call skb_linearize only
when the conversion fails.
Signed-off-by: Liu Jian <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions