diff --git a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.ipp b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.ipp index b4a8a45448247b..334ce533d786ec 100644 --- a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.ipp +++ b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.ipp @@ -378,7 +378,7 @@ void GenericThreadStackManagerImpl_OpenThread_LwIP::ReceivePacket(otM struct netif * threadNetIf = ThreadStackMgrImpl().ThreadNetIf(); // Allocate an LwIP pbuf to hold the inbound packet. - pbuf = pbuf_alloc(PBUF_RAW, pktLen, PBUF_POOL); + pbuf = pbuf_alloc(PBUF_LINK, pktLen, PBUF_POOL); VerifyOrExit(pbuf != NULL, lwipErr = ERR_MEM); // Copy the packet data from the OpenThread message object to the pbuf.