aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2023-07-18 16:40:21 -0700
committerAlexei Starovoitov <[email protected]>2023-07-19 10:27:33 -0700
commit6f5a630d7c57cd79b1f526a95e757311e32d41e5 (patch)
treea38fb261189c7792e55d31086e94082507e41fd0 /tools/perf/scripts/python
parent41ee0145a4ea7f6971c02a6dddef20d6cd806270 (diff)
bpf, net: Introduce skb_pointer_if_linear().
Network drivers always call skb_header_pointer() with non-null buffer. Remove !buffer check to prevent accidental misuse of skb_header_pointer(). Introduce skb_pointer_if_linear() instead. Reported-by: Jakub Kicinski <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions