[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #34427] In RAW/NO_SYS mode, tcp_output may send out la
From: |
Amir Shalem |
Subject: |
[lwip-devel] [bug #34427] In RAW/NO_SYS mode, tcp_output may send out large number of ARQ REQ if destination ARP entry has expired |
Date: |
Sat, 22 Oct 2011 10:17:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 |
Follow-up Comment #5, bug #34427 (project lwip):
I'm attaching a patch for this bug,
I fix two bugs in ARP layer:
* re-sending arp requests, every 1second, until entry is stable or purge out
(ARP_MAXPENDING)
arp requests are sent only when there's a new timer, or on etharp_tmr
* maximum packets in queue, up to 3 packets, until entry is stable
in case someone is sending lots of packets without the entry resolved,
makes sure we don't run out of MEMP_ARP_QUEUE for sending packets to other
IPs.
patch included.
(file #24184)
_______________________________________________________
Additional Item Attachment:
File name: arp-queuing.patch Size:6 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34427>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #34427] In RAW/NO_SYS mode, tcp_output may send out large number of ARQ REQ if destination ARP entry has expired,
Amir Shalem <=