Re: Race condition and stack overflow in tcpsm.c
Ole Reinhardt <ole.reinhardt-L1vi/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
Hi Philipp, quite some time have passed since you added your patch to the devnut_tiva branch, but I finally merged it into trunk :) best regards, Ole Am 24.11.2014 um 18:08 schrieb Philipp Burch: > On 21.11.2014 08:13, Philipp Burch wrote: >> Hi Ole! >> >> On 20.11.2014 22:07, Ole Reinhardt wrote: >>> Hi Philipp, >>> >>> Am 14.11.2014 18:04, schrieb Philipp Burch: >>>> 1. 388 for tcpsm is still too less, I managed to make it use up to 664 >>>> bytes and hence increased the stack space to 1024 bytes. >>>> 2. The DHCP thread overflowed as well, I had to set this to 1024 bytes >>>> as well. >>> >>> I made the same experience. On CM3 (lpc) I also have set the TCP and >>> DHCP stack both to 1024 bytes. I never made a measurement of the really >>> needed size, but I expect it will be more than 650 bytes. >>> >> >> Ok, I think I'll then add an extra #if defined(__CORTEX__) or something >> to have it default to a higher value. >> [...] > > r5912 in devnut_tiva now has defaults of 1024 bytes for the tcpsm and > dhcpc threads when compiled with __CORTEX__. > > Regards, > Philipp > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion > -- kernel concepts GmbH Tel: +49-271-771091-14 Sieghuetter Hauptweg 48 Mob: +49-177-7420433 D-57072 Siegen http://www.embedded-it.de http://www.kernelconcepts.de _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion