[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #19347] netif_add & tcpip_init problem
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [bug #19347] netif_add & tcpip_init problem |
Date: |
Thu, 05 Apr 2007 12:51:11 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
Follow-up Comment #31, bug #19347 (project lwip):
Ok, I join a ZIP file with two new files :
lwip/src/api/netifapi.c
lwip/src/include/lwip/netifapi.h
and the patch for tcpip.h/.c and opt.h.
Simon, any other comments about that (I just start test, but for the general
design)?
About your dhcp patch, just one thing: why in start/stop timers do you use
this protection :
+ SYS_ARCH_DECL_PROTECT(old_level);
+ SYS_ARCH_PROTECT(old_level);
...
+ SYS_ARCH_UNPROTECT(old_level);
You are in tcpip_thread context, and you just initialize sys_timeouts? What
is the risk?
Last, a detail, it will be better to my point of view to define
DHCP_COARSE_TIMER_MSSECS to avoid to do "*1000" each time (even if most of
compilers will directly optimize that...
I think we are near of the end for this problem...
(file #12404)
_______________________________________________________
Additional Item Attachment:
File name: netifapi.zip Size:4 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19347>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, (continued)
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/03
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/04
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/04
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem,
Frédéric Bernon <=
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/06
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/11
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/11
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/20
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Frédéric Bernon, 2007/04/22
- [lwip-devel] [bug #19347] netif_add & tcpip_init problem, Simon Goldschmidt, 2007/04/23