Any idea what might be causing this?
I am not sure how should i handle the case with netif having its own
task sending data to netif->input()
Is there some explicit locking required?
This is a special case where locking is taken care of. However:
- SYS_LIGHTWEIGHT_PROT needs to be set (this takes care of locking the
memp pools)
Do you think it might be problem that i do that on
LWIP v2.1.2 with core locking disabled? Namely:
#define LWIP_TCPIP_CORE_LOCKING 0
#define LWIP_TCPIP_CORE_LOCKING_INPUT 0
Might get that enabled in far future, but i can't really enable that
right now,
because i don't have control over the upstream build system...
How can i correctly pass the packet from my thread to tcpip_input()
without such lock?
I can use FreeRTOS queue to transport it to different context if needed.
But i am not sure where.
--
S pozdravem
Best regards
Tomáš Mudruňka - SPOJE.NET s.r.o.
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users