]> git.baikalelectronics.ru Git - kernel.git/commit
tcm_fc: Check for aborted sequence
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 22 Apr 2013 16:49:55 +0000 (09:49 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 25 Apr 2013 08:05:28 +0000 (01:05 -0700)
commitcb1bc15615e92fc4668b095eec75de43d263e5c3
tree49e8ceedd508668cdcf351fd411d4ec4168a2781
parent2abbe4e20a0a7d34bafb8f378ce57850d84ee1ce
tcm_fc: Check for aborted sequence

Add a check for an aborted sequence, which has a
NULL sequence pointer, to avoid target crashes.
The most relevant messages from the crash (entered
from video capture) include:

BUG: unable to handle kernel paging request at ffffffffffffffdf
IP: [<ffffffffa02d514c>] fc_seq_send+0x3c/0x150 [libfc]
...
Call Trace:
 [<ffffffffa0443de6>] ft_queue_data_in+0x266/0x560 [tcm_fc]

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_io.c