Re: [PATCH for-next] RDMA/core: Avoid panic when port_data isn't initialized

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

 



On Wed, May 22, 2019 at 10:23:40AM +0300, Kamal Heib wrote:
> A panic could occur when calling ib_device_release() and port_data
> isn't initialized, To avoid that a check was added to verify that
> port_data isn't NULL.

This is a terrible commit message, describe the case that causes this.

The check should be in ib_device_release(), not in the functions.

Jason



[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