slirp: Fill TCP/IP header template after SYN reception
commit144d192d33f031bced40012a114a15b6041c751e
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 15 Sep 2011 22:10:50 +0000 (16 00:10 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 15 Sep 2011 22:16:12 +0000 (16 00:16 +0200)
treed5cc3bc277ec0b39a769b1081cd56c7bca2aeb75
parent44520db10b1b92f272348ab7028e7afc68ac3edf
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.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
slirp/tcp_input.c