diff options
| author | Chuck Lever <[email protected]> | 2020-06-27 12:35:04 -0400 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2020-07-13 10:50:41 -0400 |
| commit | 85bfd71bc34e20d9fadb745131f6314c36d0f75b (patch) | |
| tree | 0c82e964ed424300210d65e8f7e98693533c0946 /net/unix/garbage.c | |
| 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 <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions