OSDN Git Service

RDMA/efa: Remove unneeded admin commands abort flow
authorGal Pressman <galpress@amazon.com>
Tue, 28 May 2019 12:46:15 +0000 (15:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 29 May 2019 16:14:14 +0000 (13:14 -0300)
commite0e3f39759151fb1b445a0dbc5d6a14f3e1732aa
tree1caf04b10837613f16ea1af9a3c4c246dd7dd4f8
parent255efcaeb623dd9777523b98d29aa5a0792d9245
RDMA/efa: Remove unneeded admin commands abort flow

The admin commands abort flow is buggy (use-after-free) and not really
necessary as it is guaranteed that after ib_unregister_device() is called
there are no user verbs threads running in parallel, delete it.

Suggested-by: Jason Gunthorpe <jgg@ziepe.ca>
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa_com.c
drivers/infiniband/hw/efa/efa_com.h