lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #34681] Limit ARP queue length by ARP_QUEUE_LEN (=3)


From: Amir Shalem
Subject: [lwip-devel] [bug #34681] Limit ARP queue length by ARP_QUEUE_LEN (=3)
Date: Sat, 29 Oct 2011 08:37:53 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2

URL:
  <http://savannah.nongnu.org/bugs/?34681>

                 Summary: Limit ARP queue length by ARP_QUEUE_LEN (=3)
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: amirshalem
            Submitted on: Sat 29 Oct 2011 08:37:52 AM GMT
                Category: ARP
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

I propose to limit the ARP queue length, by ARP_QUEUE_LEN (defaults to 3).

This will make sure that if two IPs are unresolved, then the first one them
won't be able to "steal" all the MEMP_ARP_QUEUE objects, by limiting both
queues to ARP_QUEUE_LEN packets awaiting in each queue.

>From what I understand & tested, this will shouldn't hurt any higher level
(UDP, TCP, ICMP, applications, ...)

Patch included.

Amir Shalem



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 29 Oct 2011 08:37:52 AM GMT  Name: limit_arp_queue_length.patch 
Size: 2kB   By: amirshalem
ARP_QUEUE_LEN patch
<http://savannah.nongnu.org/bugs/download.php?file_id=24237>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34681>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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