|
From: | address@hidden |
Subject: | Re: [lwip-devel] Missing initialization somewhere? |
Date: | Thu, 13 Oct 2011 19:20:22 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
Sergey Kubushyn wrote:
Hmm, that sounds like some pointer running wild and writing to the memory region where netif->flags is?The netif is UP and running. If the first packet after reset is ICMP it keeps running forever. If the first packet after reset is TCP SYN it _sometimes_ (something like every second reset) makes that netif->flags to drop its UP flag. If an ICMP packet is in/out (echo req/rply) is processed before the first TCP SYN everything work fine every time, no failures.
That's strange, reception should only succeed if the netif is up (unless it's UDP DHCP traffic). For that, netif_is_up() is called in ip_input().At which point does the netif go down here?I don't know yet. ARP goes out OK and received fine. Then when it is time to _SEND_ SYN/ACK netif seems to be down. Reception _STILL WORKS_ , it properly receives the retransmitted SYN, generates a proper SYN/ACK and tries to send it back but it fails again in ip_route() because netif is presumably down.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |