aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2014-06-17 22:23:03 +0000
committerNicholas Bellinger <[email protected]>2014-06-26 20:56:49 -0700
commitb43f1886e4d3ea3f68665eaea96526ccdd53741d (patch)
tree09b7cedc3ea62bd601987ad5172051d349d32c9d /net/unix/af_unix.c
parent683497566d48f86e04d026de1ee658dd74fc1077 (diff)
tcm_loop: Fix memory leak in tcm_loop_submission_work error path
This patch fixes a tcm_loop_cmd descriptor memory leak in the tcm_loop_submission_work() error path, and would result in warnings about leaked tcm_loop_cmd_cache objects at module unload time. Go ahead and invoke kmem_cache_free() to release tl_cmd back to tcm_loop_cmd_cache before calling sc->scsi_done(). Reported-by: Sebastian Herbszt <[email protected]> Tested-by: Sebastian Herbszt <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions