summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSaket Kumar Bhaskar <skb99@linux.ibm.com>2025-03-11 11:46:47 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-03-15 21:49:24 +0300
commit8c10109a979a5cc04b144d2fa6a6cacd57f390b3 (patch)
tree2b1c26da50d6281e1d76dc59621854163290ea4b /rust/helpers/helpers.c
parentde07b182899227d5fd1ca7a1a7d495ecd453d49c (diff)
downloadlinux-8c10109a979a5cc04b144d2fa6a6cacd57f390b3.tar.xz
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 <skb99@linux.ibm.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Link: https://lore.kernel.org/bpf/20250311084647.3686544-1-skb99@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions