projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44520db
)
slirp: Fill TCP/IP header template after SYN reception
author
Jan Kiszka
<jan.kiszka@siemens.com>
Thu, 15 Sep 2011 22:10:50 +0000
(
00:10
+0200)
committer
Jan Kiszka
<jan.kiszka@siemens.com>
Thu, 15 Sep 2011 22:16:12 +0000
(
00:16
+0200)
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
patch
|
blob
|
history
diff --git
a/slirp/tcp_input.c
b/slirp/tcp_input.c
index c1214c06591417cd5ea8b85372d625422fa56d3b..5a79c68348af179ca25c08ed1d1fb21dc4c7ab85 100644
(file)
--- 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;