lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] icmp6


From: address@hidden
Subject: Re: [lwip-users] icmp6
Date: Tue, 14 Aug 2018 15:03:46 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 14.08.2018 14:49, Amena El Homsi wrote:
When we receive an echo request using IPv6, LwIP copies the request to new pbuf to send the reply. Why LwIP doesn't use the echo request pbuf, instead of allocating a new one (as what LwIP does when replying to IPv4 echo requests)?

Ehrm, I don't know really. But the code for IPv4 has been there a really long time and has cause some problems in the past. Also, using an RX buffer for TX can be a problem because it can starve RX when all the buffers get queued for TX and TX somehow stalls for some time (e.g. oending ARP request or something like that).

Is there a problem with copying the request for IPv6?

Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]