qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] slirp fix
@ 2011-09-15 22:21 Jan Kiszka
  2011-09-15 22:22 ` [Qemu-devel] [PATCH 1/1] slirp: Fill TCP/IP header template after SYN reception Jan Kiszka
  2011-09-20 20:38 ` [Qemu-devel] [PULL] slirp fix Anthony Liguori
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2011-09-15 22:21 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

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(-)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PATCH 1/1] slirp: Fill TCP/IP header template after SYN reception
  2011-09-15 22:21 [Qemu-devel] [PULL] slirp fix Jan Kiszka
@ 2011-09-15 22:22 ` Jan Kiszka
  2011-09-20 20:38 ` [Qemu-devel] [PULL] slirp fix Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2011-09-15 22:22 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

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.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 slirp/tcp_input.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/slirp/tcp_input.c b/slirp/tcp_input.c
index c1214c0..5a79c68 100644
--- a/slirp/tcp_input.c
+++ b/slirp/tcp_input.c
@@ -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;
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL] slirp fix
  2011-09-15 22:21 [Qemu-devel] [PULL] slirp fix Jan Kiszka
  2011-09-15 22:22 ` [Qemu-devel] [PATCH 1/1] slirp: Fill TCP/IP header template after SYN reception Jan Kiszka
@ 2011-09-20 20:38 ` Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2011-09-20 20:38 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: qemu-devel

On 09/15/2011 05:21 PM, Jan Kiszka wrote:
> 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

>
> Jan Kiszka (1):
>        slirp: Fill TCP/IP header template after SYN reception
>
>   slirp/tcp_input.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-20 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 22:21 [Qemu-devel] [PULL] slirp fix Jan Kiszka
2011-09-15 22:22 ` [Qemu-devel] [PATCH 1/1] slirp: Fill TCP/IP header template after SYN reception Jan Kiszka
2011-09-20 20:38 ` [Qemu-devel] [PULL] slirp fix Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).