Skip to contentSkip to conversation

slirp fix

GIT PULL New Jan Kiszka 2 participants 3 messages Sep 15, 2011 – Sep 20, 2011

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

The following changes since commit 44520db10b1b92f272348ab7028e7afc68ac3edf:

Gdbstub: Fix back-trace on SPARC32 (2011-09-10 18:12:35 +0000)

are available in the git repository at:
git://git.kiszka.org/qemu.git queues/slirp

Jan Kiszka (1):
slirp: Fill TCP/IP header template after SYN reception

 slirp/tcp_input.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
author
#1 lore raw

PATCH 1/1 slirp: Fill TCP/IP header template after SYN reception

This ensures we can cleanly signal the drop in case the connection timer fires. So far we sent those frames to nowhere (target IP 0.0.0.0).

Found by the new assertion on invalid IPs in arp_table_search.

---
 slirp/tcp_input.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
slirp/tcp_input.c +1 -0
index c1214c0..5a79c68 100644
@@ -610,6 +610,7 @@ findso:
 	    so->so_ti = ti;
 	    tp->t_timer[TCPT_KEEP] = TCPTV_KEEP_INIT;
 	    tp->t_state = TCPS_SYN_RECEIVED;
+	    tcp_template(tp);
 	  }
 	  return;
 
Signature · 1 line
1.7.3.4
#2 lore raw
In reply to Jan Kiszka
Quoted 6 lines · Jan Kiszka

The following changes since commit 44520db10b1b92f272348ab7028e7afc68ac3edf:

   Gdbstub: Fix back-trace on SPARC32 (2011-09-10 18:12:35 +0000)

are available in the git repository at:
git://git.kiszka.org/qemu.git queues/slirp

Pulled. Thanks.

Regards,

Anthony Liguori

Quoted 7 lines

Jan Kiszka (1):
slirp: Fill TCP/IP header template after SYN reception

  slirp/tcp_input.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)