aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorHao Luo <haoluo@google.com>2022-01-06 12:55:25 -0800
committerAndrii Nakryiko <andrii@kernel.org>2022-01-06 15:20:49 -0800
commit44bab87d8ca6f0544a9f8fc97bdf33aa5b3c899e (patch)
treee88c204993400047827074a50eb71bf3e50319bc /net/ipv4/tcp_ipv4.c
parentlibbpf: Add documentation for bpf_map batch operations (diff)
downloadlinux-dev-44bab87d8ca6f0544a9f8fc97bdf33aa5b3c899e.tar.xz
linux-dev-44bab87d8ca6f0544a9f8fc97bdf33aa5b3c899e.zip
bpf/selftests: Test bpf_d_path on rdonly_mem.
The second parameter of bpf_d_path() can only accept writable memories. Rdonly_mem obtained from bpf_per_cpu_ptr() can not be passed into bpf_d_path for modification. This patch adds a selftest to verify this behavior. Signed-off-by: Hao Luo <haoluo@google.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20220106205525.2116218-1-haoluo@google.com
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions