[En-Nut-Discussion] Race condition and stack overflow in tcpsm.c
ole.reinhardt at embedded-it.de
Fri Jan 8 00:15:44 CET 2016
quite some time have passed since you added your patch to the
devnut_tiva branch, but I finally merged it into trunk :)
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__.
kernel concepts GmbH Tel: +49-271-771091-14
Sieghuetter Hauptweg 48 Mob: +49-177-7420433
More information about the En-Nut-Discussion