Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
vmw_pvrdma: Avoid double unlock on qp->sq.lock
[ Upstream commit d8a052e ] qp->sq.lock is currently unlocked twice when the ring state is invalid. Fix this by removing the goto, and also set bad_wr correctly. Fixes: 36756a6 ("libpvrdma: Add queue pair functions") Cc: stable@linux-rdma.org Reviewed-by: Vishnu Dasa <vdasa@vmware.com> Reviewed-by: Adit Ranadive <aditr@vmware.com> Reviewed-by: Rajesh Jalisatgi <rjalisatgi@vmware.com> Signed-off-by: Bryan Tan <bryantan@vmware.com> Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Loading branch information