lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #26135] Don’t need to allocate space for link header s


From: Zhenwei Chu
Subject: [lwip-devel] [bug #26135] Don’t need to allocate space for link header since already in etharp_hdr.
Date: Thu, 09 Apr 2009 14:21:44 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)

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

                 Summary: Don’t need to allocate space for link header
since already in etharp_hdr.
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: blackfin
            Submitted on: Thu 09 Apr 2009 02:21:42 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.3.0

    _______________________________________________________

Details:

Don’t need to allocate space for link header since already in etharp_hdr.

changed
Etharp.c, line1029:
From:
etharp_raw()

  /* allocate a pbuf for the outgoing ARP request packet */
    /* don't need to allocate space for link header since already in
etharp_hdr */
    p = pbuf_alloc(PBUF_RAW, sizeof(struct etharp_hdr), PBUF_RAM);


To:
etharp_raw()

  /* allocate a pbuf for the outgoing ARP request packet */
                
  p = pbuf_alloc(PBUF_LINK, sizeof(struct etharp_hdr), PBUF_RAM);






    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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