]> git.karo-electronics.de Git - linux-beck.git/commit
RDMA/i40iw: Do not set self-referencing pointer to NULL after free
authorIsmail, Mustafa <mustafa.ismail@intel.com>
Mon, 18 Apr 2016 15:32:58 +0000 (10:32 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:53 +0000 (16:32 -0400)
commit36a479335051ea5ad552f8234722a908179fc8f0
tree44b94ad3166f68441461e70b587dd0be3f1c5f66
parentbd57aeae563c8f032d6eee1c151f12b03191f053
RDMA/i40iw: Do not set self-referencing pointer to NULL after free

iwqp->allocated_buffer is a self-referencing pointer to iwqp.
Do not set iwqp->allocated_buffer to NULL after freeing it.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c