summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorQuinn Tran <quinn.tran@qlogic.com>2014-09-25 14:22:28 +0400
committerLuis Henriques <luis.henriques@canonical.com>2014-11-05 14:43:03 +0300
commitc1ab3b961d7a818937bac9c6d632050e0c1eb843 (patch)
tree0b85814cf8be6265572d3816c4463d1db8f50ecf /mm/truncate.c
parenta3b3f68d39e4e6c79306259b195d63e2d4408cb4 (diff)
downloadlinux-c1ab3b961d7a818937bac9c6d632050e0c1eb843.tar.xz
target: Fix queue full status NULL pointer for SCF_TRANSPORT_TASK_SENSE
commit 082f58ac4a48d3f5cb4597232cb2ac6823a96f43 upstream. During temporary resource starvation at lower transport layer, command is placed on queue full retry path, which expose this problem. The TCM queue full handling of SCF_TRANSPORT_TASK_SENSE currently sends the same cmd twice to lower layer. The 1st time led to cmd normal free path. The 2nd time cause Null pointer access. This regression bug was originally introduced v3.1-rc code in the following commit: commit e057f53308a5f071556ee80586b99ee755bf07f5 Author: Christoph Hellwig <hch@infradead.org> Date: Mon Oct 17 13:56:41 2011 -0400 target: remove the transport_qf_callback se_cmd callback Signed-off-by: Quinn Tran <quinn.tran@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions