Re: [PATCH for-rc v1] RDMA/rxe: Fix failure during driver load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 03, 2021 at 04:51:45PM -0300, Jason Gunthorpe wrote:
> On Thu, Jun 03, 2021 at 12:01:12PM +0300, Kamal Heib wrote:
> > To avoid the following failure when trying to load the rdma_rxe module
> > while IPv6 is disabled, add a check for EAFNOSUPPORT to 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")
> > Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx>
> > --
> >  drivers/infiniband/sw/rxe/rxe_net.c | 10 +++++++---
> >  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> I tidied the pr_warn english and put this to for-next
> 
> It has been broken for so long, and in such a small way, I can't see
> this as a -rc fix.
> 
> Thanks,
> Jason

Thanks a lot Jason.

Could you please add the reported-by tag to this patch? - I've missed
it, Sorry :-(.

Reported-by: Yi Zhang <yi.zhang@xxxxxxxxxx>

Thanks,
Kamal



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux