[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out
From: |
K.J. Mansley |
Subject: |
Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out |
Date: |
17 Jun 2004 18:11:15 +0100 |
On Thu, 2004-06-17 at 17:50, Leon Woestenberg wrote:
> Hello Justin,
>
> Justin Bayles wrote:
>
> >> I am not into the netconn_ layer, but shouldn't the sysarch semaphores
> >> already synchronize access to the TCP layer? I.e. are you really seeing
> >> concurrent access to both tcp_in and tcp_enqueue?
> >
> > There is no synchronisation in either tcp_in or tcp_out. I am definitely
> > seeing concurrent access to tcp_in and tcp_out.
> >
> Yes, the lwIP core does no synchronization whatsoever (by design). The
> higher layer should handle this.
>
> lwIP core = {tcp, udp, icmp, arp, ip}
>
> You said you where not using tcp_*() directly. What is your way of
> sending and receive from TCP? netconn_*()? I.e. what is your higher
> layer around the lwIP core?
And, if you are using the netconn_*() API, how are you injecting packets
received from the network into the stack? Are you calling tcpip_input()
(which performs the synchronization), or bypassing that and going
straight to ip_input()?
Kieran
- [lwip-users] Problems with ASSERTION in tcp_in and tcp_out, Justin Bayles, 2004/06/09
- Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out, Justin Bayles, 2004/06/10
- Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out, Justin Bayles, 2004/06/15
- Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out, Justin Bayles, 2004/06/16
- Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out, Justin Bayles, 2004/06/16
- Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out, Justin Bayles, 2004/06/17
- Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out, Justin Bayles, 2004/06/17
- [lwip-users] Router issues with lwip, Martin Glunz, 2004/06/20
- Re: [lwip-users] Router issues with lwip, K.J. Mansley, 2004/06/21
- Re: [lwip-users] Router issues with lwip, Martin Glunz, 2004/06/22
- Re: [lwip-users] Router issues with lwip, K.J. Mansley, 2004/06/23
- Re: [lwip-users] Router issues with lwip, Leon Woestenberg, 2004/06/23
- Re: [lwip-users] Router issues with lwip, Martin Glunz, 2004/06/24
- Re: [lwip-users] Router issues with lwip, Leon Woestenberg, 2004/06/24
- Re: [lwip-users] Router issues with lwip, Martin . Glunz, 2004/06/24