]> asedeno.scripts.mit.edu Git - linux.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)
commit77cf98d4ec90e8c48592c6537cfc2281c58f7ac3
tree2431c5bcfc2dfaded3b62ac42007981f8aa07748
parentad0593ec8930d2e3fa4252cb7ad666bdfe4ed4f1
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: 9b64f7d0bb0a ("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