aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2015-02-18 14:33:58 +0000
committerNicholas Bellinger <[email protected]>2015-03-20 06:26:31 +0000
commit7544e597343e2166daba3f32e4708533aa53c233 (patch)
treec3313d9f42ab0eeeca72de76d67283320444940a /fs/ubifs/commit.c
parentloop/usb/vhost-scsi/xen-scsiback: Fix use of __transport_register_session (diff)
downloadkernel-7544e597343e2166daba3f32e4708533aa53c233.tar.gz
kernel-7544e597343e2166daba3f32e4708533aa53c233.zip
target: Fix reference leak in target_get_sess_cmd() error path
This patch fixes a se_cmd->cmd_kref leak buf when se_sess->sess_tearing_down is true within target_get_sess_cmd() submission path code. This se_cmd reference leak can occur during active session shutdown when ack_kref=1 is passed by target_submit_cmd_[map_sgls,tmr]() callers. Signed-off-by: Bart Van Assche <[email protected]> Cc: <[email protected]> # 3.6+ Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions