aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2018-01-28 11:25:30 +0200
committerJason Gunthorpe <[email protected]>2018-01-28 14:07:16 -0700
commitb081808a66345ba725b77ecd8d759bee874cd937 (patch)
treeb938f6a4fe6dafdaf7c8a7ac6f5df67dbbd06a7a /net/unix/sysctl_net_unix.c
parentf23a5350e43c810ca36b26d4ed4ecd9a08686f47 (diff)
RDMA/mlx5: Avoid memory leak in case of XRCD dealloc failure
Failure in XRCD FW deallocation command leaves memory leaked and returns error to the user which he can't do anything about it. This patch changes behavior to always free memory and always return success to the user. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Reviewed-by: Majd Dibbiny <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Yuval Shaia <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions