Pnet port for rt-kernel by-passes lwip locking
elupus opened this issue · comments
Joakim Plate commented
When running pnet with rt-kernel, the pnet stack by-passes lwip core locks and calls directly into hardware network driver. This causes hardware driver's to end up in inconsistent state when both LWIP and PNET is writing to network.
p-net/src/ports/rt-kernel/pnal_eth.c
Line 168 in fd28e40
Either call must be made through lwip, or core lock must be taken before calling into hardware.