mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
adb76a520d
The device is got by isert_device_get() with refcount is 1, and is
assigned to isert_conn by
isert_conn->device = device.
When isert_create_qp() failed, device will be freed with
isert_device_put().
Later, the device is used in isert_free_login_buf(isert_conn) by the
isert_conn->device->ib_device statement.
Free the device in the correct order.
Fixes:
|
||
---|---|---|
.. | ||
ib_isert.c | ||
ib_isert.h | ||
Kconfig | ||
Makefile |