aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorSaket Kumar Bhaskar <[email protected]>2025-03-11 08:46:47 +0000
committerAlexei Starovoitov <[email protected]>2025-03-15 18:49:24 +0000
commit8c10109a979a5cc04b144d2fa6a6cacd57f390b3 (patch)
tree2b1c26da50d6281e1d76dc59621854163290ea4b /tools/bpf/bpftool/prog.c
parentselftests/bpf: Fix string read in strncmp benchmark (diff)
downloadkernel-8c10109a979a5cc04b144d2fa6a6cacd57f390b3.tar.gz
kernel-8c10109a979a5cc04b144d2fa6a6cacd57f390b3.zip
selftests/bpf: Fix sockopt selftest failure on powerpc
The SO_RCVLOWAT option is defined as 18 in the selftest header, which matches the generic definition. However, on powerpc, SO_RCVLOWAT is defined as 16. This discrepancy causes sol_socket_sockopt() to fail with the default switch case on powerpc. This commit fixes by defining SO_RCVLOWAT as 16 for powerpc. Signed-off-by: Saket Kumar Bhaskar <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Tested-by: Venkat Rao Bagalkote <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions