aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorLiu Jian <[email protected]>2022-04-16 10:58:00 +0000
committerDaniel Borkmann <[email protected]>2022-04-20 21:48:22 +0000
commit92ece28072f18f30099770c5d4b8e300ea6820fa (patch)
treeb855ca6184c3499fb1f0a2b5fdcbb7e1a3f00080 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parentbpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytes (diff)
downloadkernel-92ece28072f18f30099770c5d4b8e300ea6820fa.tar.gz
kernel-92ece28072f18f30099770c5d4b8e300ea6820fa.zip
net: Change skb_ensure_writable()'s write_len param to unsigned int type
Both pskb_may_pull() and skb_clone_writable()'s length parameters are of type unsigned int already. Therefore, change this function's write_len param to unsigned int type. Signed-off-by: Liu Jian <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions