diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-08-13 13:42:17 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2007-08-13 13:42:17 -0500 |
commit | 681c66f6bec199a6248e48c8e9ba40350fca3ff9 (patch) | |
tree | b94fd89dd8e2298fe8bb9975184d4b03c3603d75 /include | |
parent | 9ec75c98b00f6d6a33cfc74b86605b5a91753034 (diff) | |
download | open-iscsi-681c66f6bec199a6248e48c8e9ba40350fca3ff9.tar.gz |
fix DefaultTime2Wait handling and fix libiscsi null ptr ref.
We were not using the DefaultTime2Wait value we negotiated for.
We could hit a null ptr in libiscsi if we called stop and the
connection had not been setup.
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iscsi_proto.h b/include/iscsi_proto.h index 059fd74..e821932 100644 --- a/include/iscsi_proto.h +++ b/include/iscsi_proto.h @@ -615,6 +615,8 @@ struct iscsi_reject { #define ISCSI_MIN_MAX_BURST_LEN 512 #define ISCSI_MAX_MAX_BURST_LEN 16777215 +#define ISCSI_DEF_TIME2WAIT 2 + /************************* RFC 3720 End *****************************/ #endif /* ISCSI_PROTO_H */ |