]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDMA/bnxt_re: Dereg MR in FW before freeing the fast_reg_page_list
authorSelvin Xavier <selvin.xavier@broadcom.com>
Mon, 22 May 2017 10:15:34 +0000 (03:15 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Jun 2017 17:01:58 +0000 (13:01 -0400)
commit1c980b010f06696c9093c5d6a5ac7b5145f89a04
tree098966a8460a13fe67df327bee7e181281ad7b02
parent9152e0b722b29092115da3bfbf63d26be1a461df
RDMA/bnxt_re: Dereg MR in FW before freeing the fast_reg_page_list

If the host buffers are freed before destroying MR in HW,
HW could try accessing these buffers. This could cause a host
crash. Fixing the code to avoid this condition.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c