diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-01-21 11:03:19 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-01-30 10:47:48 -0500 |
commit | 5ae711a24601257f395c1f8746ac95be0cbd75e5 (patch) | |
tree | b1e3c4d6d07f1c175247e66a20278ad831af8813 /security/yama | |
parent | afadc468eb309b7c48ffdc8fa4c72acbb9991613 (diff) |
xprtrdma: Free the pd if ib_query_qp() fails
If ib_query_qp() fails or the memory registration mode isn't
supported, don't leak the PD. An orphaned IB/core resource will
cause IB module removal to hang.
Fixes: bd7ed1d13304 ("RPC/RDMA: check selected memory registration ...")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions