[SCSI] iscsi_tcp: Evaluate socket state in data_ready()
authorHannes Reinecke <hare@suse.de>
Thu, 20 Aug 2009 20:10:57 +0000 (15:10 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 14:42:39 +0000 (09:42 -0500)
commit523eeac6703a995d58918aaf321f128f75c13108
treeb9d0ffa377b5d41144961709d94b10415f610e19
parentac280b670e6d6666667aba02324e2fc50bd96ae7
[SCSI] iscsi_tcp: Evaluate socket state in data_ready()

The network core will call the state_change() callback
prior to the data_ready() callback, which might cause
us to lose a connection state change.
So we have to evaluate the socket state at the end
of the data_ready() callback, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/iscsi_tcp.c