aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChris Leech <[email protected]>2013-09-26 09:09:44 -0700
committerJames Bottomley <[email protected]>2013-10-25 09:58:13 +0100
commitc712495e687e221b00bddae96247dbf6ffbc6200 (patch)
treeb3500cdee70ee7f4cc90de99301a948cd731b2ca /tools/perf/util/scripting-engines/trace-event-python.c
parent95897910a5b8ecdc7e86ca2c38e21e84324c98bd (diff)
[SCSI] iscsi_tcp: consider session state in iscsi_sw_sk_state_check
It seems some iSCSI targets (including the Linux kernel target) close the TCP connection from the target side immediately after processing a session logout. When a TCP FIN comes in right after the iSCSI logout response, iscsi_sw_sk_state_check sees the local socket as not yet being in CLOSE_WAIT or CLOSE and logs an error. But the initiator would close the connection right after processing the logout response anyway, and the error is confusing to admins who just requested that the session be shut down. This adds a check of the session state, and suppresses the error if we are in the process of logging out. Signed-off-by: Chris Leech <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions