linux/drivers/infiniband
Kamal Heib 32a25f2ea6 RDMA/rxe: Fix failure during driver load
To avoid the following failure when trying to load the rdma_rxe module
while IPv6 is disabled, add a check for EAFNOSUPPORT and ignore the
failure, also delete the needless debug print from rxe_setup_udp_tunnel().

$ modprobe rdma_rxe
modprobe: ERROR: could not insert 'rdma_rxe': Operation not permitted

Fixes: dfdd6158ca ("IB/rxe: Fix kernel panic in udp_setup_tunnel")
Link: https://lore.kernel.org/r/20210603090112.36341-1-kamalheib1@gmail.com
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-03 16:50:29 -03:00
..
core IB/cm: Protect cm_dev, cm_ports and mad_agent with kref and lock 2021-06-02 15:41:58 -03:00
hw Merge branch 'irdma' into rdma.git for-next 2021-06-02 20:07:59 -03:00
sw RDMA/rxe: Fix failure during driver load 2021-06-03 16:50:29 -03:00
ulp RDMA/rtrs: Avoid Wtautological-constant-out-of-range-compare 2021-05-31 15:38:08 -03:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00