Re: [lwip-users] LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT

2022-10-12 Thread Giuseppe Modugno
Il 12/10/2022 21:11, goldsi...@gmx.de ha scritto: Am 11.10.2022 um 17:11 schrieb Giuseppe Modugno: Another thing I can't understand is why the code around LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT is needed if:   * NO_SYS=1   * MEM_USE_POOLS=0   * MEM_LIBC_MALLOC=0   * SYS_LIGHTWEIGHT_PROT=1   * s

Re: [lwip-users] Raw TCP, intermittent long delays in accept after after close

2022-10-12 Thread goldsi...@gmx.de
Sorry, nothing comes to mind except for maybe you don't close your TCP pcbs correctly. Normally, pcbs in time-wait should just be reused. If you experience you need some kind of delay, maybe your pcbs are stuck in a state != time-wait? Regards, Simon Am 04.10.2022 um 19:16 schrieb Geoff Simmons:

Re: [lwip-users] LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT

2022-10-12 Thread goldsi...@gmx.de
Am 11.10.2022 um 17:11 schrieb Giuseppe Modugno: Another thing I can't understand is why the code around LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT is needed if: * NO_SYS=1 * MEM_USE_POOLS=0 * MEM_LIBC_MALLOC=0 * SYS_LIGHTWEIGHT_PROT=1 * sys_arch_protect() simply disables interrupts In me