This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: BSD socket read() calls blocking indefinately
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: psheer at icon dot co dot za
- Cc: Andrew Lunn <andrew dot lunn at ascom dot ch>, ecos-discuss at sources dot redhat dot com
- Date: Fri, 7 Dec 2001 12:51:47 +0100
- Subject: Re: [ECOS] BSD socket read() calls blocking indefinately
- References: <200112071126.fB7BQN725478@ascomax.hasler.ascom.ch>
> However where the packet goes thereafter I have no clue
> and it seems quite difficult to go debugging the TCP
> stack.
> Can I ask where do a track the packet from here on?
Put breakpoints in ether_input, ip_input and tcp_input. You can then
see which layer is throwing away the packet. If tcp_input processes it
correctly, its then something to do with the actual waking up of the
thread.
By the way, which version of eCos are you using? Latest anoncvs or the
very old 1.3.1?
Andrew