lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Retransmission problems on server sockets


From: Luca Ottaviano
Subject: Re: [lwip-users] Retransmission problems on server sockets
Date: Wed, 20 Apr 2011 13:17:23 +0200

On mer, 2011-04-20 at 12:26 +0200, Luca Ottaviano wrote:
> On mar, 2011-04-19 at 09:45 +0100, Kieran Mansley wrote:
> > On Tue, 2011-04-19 at 09:14 +0200, Luca Ottaviano wrote:
> > > See attached tcpdump for an example session.
> > 
> > I'm assuming .115 is the lwIP device and .200 is the PC.
> > 
> > It looks like the PC is no longer receiving the packets sent by the lwIP
> > device.  I would guess that the way you're inserting/removing the
> > firewall has resulted in something getting broken at the PC end.  The
> > packets lwIP are sending look fine, and as they appear in the packet
> > capture they're clearly getting across the network, but they don't seem
> > to be getting as far as the network stack on your PC as it is ignoring
> > them.
> 
> Actually, the bug was that the device wasn't retransmitting the packets.
> However, it was a problem on my implementation of sys_arch_timeouts().

By the way, I've seen that sys_arch_timeouts() has been removed in
favour of a single global list of timeouts. How does it work with a
preemptive environment? I'm asking because it doesn't seem to be
protected from concurrent access (at least trivially). Do you have
guarantees that the access to the list is from a single thread?

Also, the documentation in doc/sys_arch.txt still mentions
sys_arch_timeouts() as a required function, so it needs update (but
probably you already know that :).

Best regards,
-- 
Luca Ottaviano - address@hidden
Develer S.r.l. - http://www.develer.com/
.hardware .software .innovation
Tel.: +39 055 3986627 - ext.: 218




reply via email to

[Prev in Thread] Current Thread [Next in Thread]