[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) i
From: |
Guillaume du PONTAVICE |
Subject: |
[lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process |
Date: |
Fri, 23 Oct 2009 16:23:46 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) |
Follow-up Comment #4, bug #27791 (project lwip):
please find more details on my environment :
platform ST7109 chipset (SH4 core)
I use OS21 operating system (ST operating system, supporting thread,
semaphore, mailbox, ...)
ethernet chipset : STMAC (supporting 100 Mb/s FD, DMA ...)
my application uses sockets.
ethernet driver :
reception is done thanks to ISR.
ISR wakes up a dedicated task that calls ip_input()
transmission is synchronous. when exiting netif->output function, the packet
is really sent on the network.
in my current config, the asynchronous reception task can be woken up in the
middle of a packet transmission.
however, even if I add a lock that forbids a packet reception while a packet
is transmitted, it won't solve the problem :
in my scenario, the packet reception does not happen when i am in
tcp_output_segment. it happens just after.
maybe a workaround could be to put a higher priority on tcpip_thread task, to
ensure that the asynchronous reception task won't disturb it ?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27791>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Guillaume du PONTAVICE, 2009/10/23
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Kieran Mansley, 2009/10/23
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Guillaume du PONTAVICE, 2009/10/23
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Kieran Mansley, 2009/10/23
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process,
Guillaume du PONTAVICE <=
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Simon Goldschmidt, 2009/10/23
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Simon Goldschmidt, 2009/10/23
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Guillaume du PONTAVICE, 2009/10/26
- [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process, Simon Goldschmidt, 2009/10/26