lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Lwip tcp-stack reliability issue when using non-reliabl


From: Sylvain Rochet
Subject: Re: [lwip-users] Lwip tcp-stack reliability issue when using non-reliable network?
Date: Tue, 7 Nov 2017 18:02:44 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Itzik,

On Tue, Nov 07, 2017 at 06:40:52PM +0200, Itzik Levi wrote:
> Hi Sylvain,
> 
> Thanks for the response!
> 
> Just tried disabling both CORE_LOCKING and CORE_LOCKING_INPUT and
> unfortunately encountered the same problem.
> 
> I'm probably missing something, but what... loss-less stream works
> excellent, without any corruption, might be some kind of internal tcp queue
> corruption while congested?

It looks like a thread safety issue, but you seem to do things well 
(PPPAPI, pppos_input_tcpip, socket API, rx/tx mutex), but could you try 
setting LWIP_NETCONN_FULLDUPLEX since you are using rx and tx from 
multiple threads ?

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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