Re: [PATCH rdma-core] verbs: If the uverbs module is not loaded allow get_devices to retry init

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

 



Applied to stable 15-20 branches

On 09/25/2018 07:57 PM, Leon Romanovsky wrote:
> On Thu, Sep 20, 2018 at 10:34:56AM -0600, Jason Gunthorpe wrote:
>> Currently if uverbs is not loaded libibverbs latches into a permanent
>> disabled state on the first try to ibv_get_device_list. This is not
>> compatible with hot-plug which could insert the uverbs module at any
>> later point. Recheck for uverbs presence until we get a successful init
>> or a hard failure during init.
>>
>> Cc: stable@xxxxxxxxxxxxxx
>> Fixes: c632072027a8 ("verbs: Refresh cahced ibv_device list")
>> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
>> ---
>>  libibverbs/device.c | 17 ++++++++++++++++-
>>  1 file changed, 16 insertions(+), 1 deletion(-)
>>
> Thanks,
> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>


Attachment: signature.asc
Description: OpenPGP digital signature


[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