Commit 36a47933 authored by Ismail, Mustafa's avatar Ismail, Mustafa Committed by Doug Ledford

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: default avatarMustafa Ismail <>
Signed-off-by: default avatarFaisal Latif <>
Signed-off-by: default avatarDoug Ledford <>
parent bd57aeae
......@@ -437,7 +437,6 @@ void i40iw_free_qp_resources(struct i40iw_device *iwdev,
iwqp->kqp.wrid_mem = NULL;
iwqp->allocated_buffer = NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment