mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-01 08:04:48 +08:00
dc202c57e9
When trying to destroy QP or CQ, we first decrease the refcount and
potentially free memory regions allocated for the object and then
request the device to destroy the object. If the device fails, the
object isn't fully destroyed so the user/IB core can try to destroy the
object again which will lead to underflow when trying to decrease an
already zeroed refcount.
Deallocate resources in reverse order of allocating them to safely free
them.
Fixes:
|
||
---|---|---|
.. | ||
efa_admin_cmds_defs.h | ||
efa_admin_defs.h | ||
efa_com_cmd.c | ||
efa_com_cmd.h | ||
efa_com.c | ||
efa_com.h | ||
efa_common_defs.h | ||
efa_io_defs.h | ||
efa_main.c | ||
efa_regs_defs.h | ||
efa_verbs.c | ||
efa.h | ||
Kconfig | ||
Makefile |