mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Revert "PPP, PPPoS, added necessary comment about mutex"
This reverts commit b23a6172ed
.
This commit is contained in:
parent
70b60bbe16
commit
52de24b95b
@ -626,7 +626,6 @@ pppos_input(ppp_pcb *ppp, u_char *s, int l)
|
|||||||
pbuf_header(inp, -(s16_t)PBUF_LINK_HLEN);
|
pbuf_header(inp, -(s16_t)PBUF_LINK_HLEN);
|
||||||
#endif /* IP_FORWARD || LWIP_IPV6_FORWARD */
|
#endif /* IP_FORWARD || LWIP_IPV6_FORWARD */
|
||||||
#if PPP_INPROC_MULTITHREADED
|
#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) {
|
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));
|
PPPDEBUG(LOG_ERR, ("pppos_input[%d]: tcpip_callback() failed, dropping packet\n", ppp->netif->num));
|
||||||
pbuf_free(inp);
|
pbuf_free(inp);
|
||||||
|
Loading…
Reference in New Issue
Block a user