From b23a6172edd50a53bd8e79929a8ee5899c8e6d46 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sun, 8 Mar 2015 12:05:13 +0100 Subject: [PATCH] PPP, PPPoS, added necessary comment about mutex --- src/netif/ppp/pppos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/netif/ppp/pppos.c b/src/netif/ppp/pppos.c index 9c4f5579..6e2c1a78 100644 --- a/src/netif/ppp/pppos.c +++ b/src/netif/ppp/pppos.c @@ -653,6 +653,7 @@ pppos_input(ppp_pcb *ppp, u_char *s, int l) pbuf_header(inp, -(s16_t)PBUF_LINK_HLEN); #endif /* IP_FORWARD || LWIP_IPV6_FORWARD */ #if PPP_INPROC_MULTITHREADED + /* Non-blocking call, we don't need to unlock the mutex here */ if(tcpip_callback_with_block(pppos_input_callback, inp, 0) != ERR_OK) { PPPDEBUG(LOG_ERR, ("pppos_input[%d]: tcpip_callback() failed, dropping packet\n", ppp->netif->num)); pbuf_free(inp);