diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-11-30 09:41:20 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-14 12:42:12 +0100 |
commit | 40be67f4c588fe2f3e2dbd60ae1f470abc5b6ad8 (patch) | |
tree | 2651859707dfe779766552cde0fce41f5eb19103 /drivers/i2c | |
parent | target: Remove TFO->check_release_cmd() fabric API caller (diff) | |
download | linux-40be67f4c588fe2f3e2dbd60ae1f470abc5b6ad8.tar.xz linux-40be67f4c588fe2f3e2dbd60ae1f470abc5b6ad8.zip |
target: Fix possible NULL pointer with __transport_execute_tasks
This patch makes __transport_execute_tasks() use a local *se_dev
reference to prevent direct se_cmd->se_dev access after
transport_cmd_check_stop() -> transport_add_tasks_from_cmd()
has been called, as in the current implementation we can expect
__transport_execute_tasks() may be called from another context
that may have already completed the I/O.
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions