http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4075f75
)
May be required in some disconnect scenarios
author
Michael Brown
<mcb30@etherboot.org>
Tue, 10 Jul 2007 05:31:11 +0000
(06:31 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 10 Jul 2007 05:31:11 +0000
(06:31 +0100)
src/net/tcp/iscsi.c
patch
|
blob
|
history
diff --git
a/src/net/tcp/iscsi.c
b/src/net/tcp/iscsi.c
index
4ce3751
..
273f0d6
100644
(file)
--- a/
src/net/tcp/iscsi.c
+++ b/
src/net/tcp/iscsi.c
@@
-142,6
+142,7
@@
static void iscsi_close_connection ( struct iscsi_session *iscsi, int rc ) {
/* Reset TX and RX state machines */
iscsi->tx_state = ISCSI_TX_IDLE;
iscsi->rx_state = ISCSI_RX_BHS;
+ iscsi->rx_offset = 0;
/* Free any temporary dynamically allocated memory */
chap_finish ( &iscsi->chap );