From 76525294eed5939f5985b3f1bee4f6dc911c0585 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 9 Jan 2007 04:31:33 +0000 Subject: Clean up connection closing and permanent failure logic. --- src/include/gpxe/iscsi.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include') diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h index 526ef43b4..bcb27376f 100644 --- a/src/include/gpxe/iscsi.h +++ b/src/include/gpxe/iscsi.h @@ -592,6 +592,13 @@ struct iscsi_session { struct scsi_command *command; /** Asynchronous operation for the current iSCSI operation */ struct async_operation aop; + /** Instant return code + * + * Set to a non-zero value if all requests should return + * immediately. This can be used to e.g. avoid retrying + * logins that are doomed to fail authentication. + */ + int instant_rc; }; /** iSCSI session is currently in the security negotiation phase */ -- cgit v1.2.3-55-g7522