linux/net/rds
Ujwal Kundur bcb28bee98 rds: Fix endianness annotations for RDS extension headers
Per the RDS 3.1 spec [1], RDS extension headers EXTHDR_NPATHS and
EXTHDR_GEN_NUM are be16 and be32 values respectively, exchanged during
normal operations over-the-wire (RDS Ping/Pong). This contrasts their
declarations as host endian unsigned ints.

Fix the annotations across occurrences. Flagged by Sparse.

[1] https://oss.oracle.com/projects/rds/dist/documentation/rds-3.1-spec.html

Signed-off-by: Ujwal Kundur <ujwal.kundur@gmail.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Link: https://patch.msgid.link/20250820175550.498-5-ujwal.kundur@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-22 16:44:39 -07:00
..
Kconfig net: rds: add option for GCOV profiling 2024-08-09 13:18:46 +01:00
Makefile net: rds: add option for GCOV profiling 2024-08-09 13:18:46 +01:00
af_rds.c rds: Replace POLLERR with EPOLLERR 2025-08-22 16:42:25 -07:00
bind.c
cong.c
connection.c rds: Fix endianness annotation of jhash wrappers 2025-08-22 16:44:34 -07:00
ib.c
ib.h
ib_cm.c
ib_frmr.c
ib_mr.h
ib_rdma.c net/rds: remove unused struct 'rds_ib_dereg_odp_mr' 2024-10-03 16:42:52 -07:00
ib_recv.c RDS: remove redundant __GFP_NOWARN 2025-08-12 14:05:44 -07:00
ib_ring.c
ib_send.c
ib_stats.c
ib_sysctl.c
info.c
info.h
loop.c
loop.h
message.c rds: Fix endianness annotations for RDS extension headers 2025-08-22 16:44:39 -07:00
page.c rds: Use nested-BH locking for rds_page_remainder 2025-05-15 15:23:31 +02:00
rdma.c
rdma_transport.c
rdma_transport.h
rds.h rds: Fix endianness annotation for RDS_MPATH_HASH 2025-08-22 16:44:39 -07:00
rds_single_path.h
recv.c rds: Fix endianness annotations for RDS extension headers 2025-08-22 16:44:39 -07:00
send.c rds: Fix endianness annotations for RDS extension headers 2025-08-22 16:44:39 -07:00
stats.c net/rds: Replace deprecated strncpy() with strscpy_pad() 2025-02-21 15:51:26 -08:00
sysctl.c
tcp.c net: better track kernel sockets lifetime 2025-02-21 16:00:58 -08:00
tcp.h
tcp_connect.c
tcp_listen.c don't open-code kernel_accept() in rds_tcp_accept_one() 2025-07-15 16:19:54 -07:00
tcp_recv.c
tcp_send.c
tcp_stats.c
threads.c
transport.c