Thread (1 message) 1 message, 1 author, 2017-05-11

Re: [PATCH] IB/srp: Fix NULL deref at srp_destroy_qp()

From: Bart Van Assche <hidden>
Date: 2017-05-11 15:26:32

On Thu, 2017-05-11 at 18:08 +0300, Israel Rukshin wrote:
If srp_init_qp() fails at srp_create_ch_ib() then ch->send_cq
may be NULL.
Calling directly to ib_destroy_qp() is sufficient because
no work requests were posted on the created qp.
Hello Israel,

Thanks for the patch. Although this patch looks fine to me, please
consider adding "Fixes: ..." and "Cc: stable" tags.

Thanks,

Bart.--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help