1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/infiniband/hw/qedr
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
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c Linux 6.1-rc8 2022-12-09 15:52:17 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qedr.h RDMA/qedr: Fix reporting QP timeout attribute 2022-06-07 11:46:56 +03:00
qedr_hsi_rdma.h qedr: Add support for kernel mode SRQ's 2018-08-14 16:31:54 -06:00
qedr_iw_cm.c ipv4: Set scope explicitly in ip_route_output(). 2024-04-08 13:20:51 +01:00
qedr_iw_cm.h RDMA/qedr: Add iWARP connection management functions 2017-08-18 12:27:14 -04:00
qedr_roce_cm.c RDMA/qedr: Remove a duplicate assignment in qedr_create_gsi_qp() 2023-07-23 10:51:07 +03:00
qedr_roce_cm.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
verbs.c RDMA/qedr: Fix qedr_create_user_qp error flow 2024-02-12 13:49:04 +02:00
verbs.h RDMA/qedr: Remove unsupported qedr_resize_cq callback 2021-10-25 14:56:55 -03:00