diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-06-27 12:35:04 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-07-13 10:50:41 -0400 |
commit | 85bfd71bc34e20d9fadb745131f6314c36d0f75b (patch) | |
tree | 0c82e964ed424300210d65e8f7e98693533c0946 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.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 <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions