Skip to content
Commit a9c10b5b authored by Dan Aloni's avatar Dan Aloni Committed by Anna Schumaker
Browse files

xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create



If there are failures then we must not leave the non-NULL pointers with
the error value, otherwise `rpcrdma_ep_destroy` gets confused and tries
free them, resulting in an Oops.

Signed-off-by: default avatarDan Aloni <dan.aloni@vastdata.com>
Acked-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 468d126d
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