mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
Fix bug #54806 (ppp: invalid LWIP_ASSERT_CORE_LOCKED() check)
pppos_input() is safe to call from outside tcpip_thread when PPP_INPROC_IRQ_SAFE == 1, so only check if PPP_INPROC_IRQ_SAFE == 0 Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
parent
06016cc939
commit
a63a7d3c76
@ -482,7 +482,7 @@ pppos_input(ppp_pcb *ppp, u8_t *s, int l)
|
||||
u8_t cur_char;
|
||||
u8_t escaped;
|
||||
PPPOS_DECL_PROTECT(lev);
|
||||
#if PPP_INPROC_IRQ_SAFE
|
||||
#if !PPP_INPROC_IRQ_SAFE
|
||||
LWIP_ASSERT_CORE_LOCKED();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user