summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/bnxt_re/main.c
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2021-06-03 12:01:12 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-06-03 16:50:29 -0300
commit32a25f2ea690dfaace19f7a3a916f5d7e1ddafe8 (patch)
treeec39475f332e490ca2d4a5098ba8bef261b59924 /drivers/infiniband/hw/bnxt_re/main.c
parent5bcf5a59c41e19141783c7305d420a5e36c937b2 (diff)
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: dfdd6158ca2c ("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>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/main.c')
0 files changed, 0 insertions, 0 deletions