1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/infiniband/hw/irdma
Guillaume Nault ec20b28300 ipv4: Set scope explicitly in ip_route_output().
Add a "scope" parameter to ip_route_output() so that callers don't have
to override the tos parameter with the RTO_ONLINK flag if they want a
local scope.

This will allow converting flowi4_tos to dscp_t in the future, thus
allowing static analysers to flag invalid interactions between
"tos" (the DSCP bits) and ECN.

Only three users ask for local scope (bonding, arp and atm). The others
continue to use RT_SCOPE_UNIVERSE. While there, add a comment to warn
users about the limitations of ip_route_output().

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Acked-by: Leon Romanovsky <leonro@nvidia.com> # infiniband
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-04-08 13:20:51 +01:00
..
cm.c ipv4: Set scope explicitly in ip_route_output(). 2024-04-08 13:20:51 +01:00
cm.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
ctrl.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
defs.h RDMA/irdma: Add AE for too many RNRS 2024-02-04 11:36:26 +02:00
hmc.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
hmc.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
hw.c RDMA/irdma: Add AE for too many RNRS 2024-02-04 11:36:26 +02:00
i40iw_hw.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
i40iw_hw.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
i40iw_if.c RDMA/irdma: Replace deprecated strncpy 2023-09-22 13:27:27 +03:00
icrdma_hw.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
icrdma_hw.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
irdma.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
Kconfig RDMA/irdma: Use correct kconfig symbol for AUXILIARY_BUS 2021-08-19 10:28:49 -03:00
main.c RDMA/irdma: Add wait for suspend on SQD 2023-11-15 16:31:42 +02:00
main.h RDMA/irdma: Add wait for suspend on SQD 2023-11-15 16:31:42 +02:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
osdep.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
pble.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
pble.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
protos.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
puda.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
puda.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
trace.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
trace.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
trace_cm.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
type.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
uda.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
uda.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
uda_d.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
uk.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
user.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
utils.c RDMA/irdma: Use crypto_shash_digest() in irdma_ieq_check_mpacrc() 2023-11-13 10:46:04 +02:00
verbs.c RDMA v6.9 2024-03-18 15:34:03 -07:00
verbs.h RDMA/irdma: Add wait for suspend on SQD 2023-11-15 16:31:42 +02:00
ws.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
ws.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00