]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "RDMA/srpt: Postpone HCA removal until after configfs directory removal"
authorBart Van Assche <bvanassche@acm.org>
Fri, 1 Nov 2019 20:47:56 +0000 (13:47 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 Nov 2019 19:13:03 +0000 (15:13 -0400)
commit236a12fafe1bdad5bf9fa646628a91899f2e1393
tree2431c5bcfc2dfaded3b62ac42007981f8aa07748
parentefe0b0b94c4bf9c7e3af70b7a7c4fa5be86757c3
Revert "RDMA/srpt: Postpone HCA removal until after configfs directory removal"

Although the mentioned patch fixes a use-after-free bug, it introduces a
hang during shutdown. Since the latter is worse, revert this patch.

Link: https://lore.kernel.org/r/20191101204756.182162-1-bvanassche@acm.org
Reported-by: Honggang Li <honli@redhat.com>
Fixes: e86fc961a4d0 ("RDMA/srpt: Postpone HCA removal until after configfs directory removal")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Honggang Li <honli@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c