commit | 85bfd71bc34e20d9fadb745131f6314c36d0f75b | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Sat Jun 27 12:35:04 2020 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Mon Jul 13 10:50:41 2020 -0400 |
tree | 0c82e964ed424300210d65e8f7e98693533c0946 | |
parent | 11ba468877bb23f28956a35e896356252d63c983 [diff] |
xprtrdma: Fix double-free in rpcrdma_ep_create() In the error paths, there's no need to call kfree(ep) after calling rpcrdma_ep_put(ep). Fixes: e28ce90083f0 ("xprtrdma: kmalloc rpcrdma_ep separate from rpcrdma_xprt") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>