Re: [PATCH] iscsi_tcp: consider session state in iscsi_sw_sk_state_check

2013-07-24 Thread Mike Christie
On 07/23/2013 04:42 PM, Chris Leech wrote: > 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

[PATCH] iscsi_tcp: consider session state in iscsi_sw_sk_state_check

2013-07-23 Thread Chris Leech
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 o