buglwIP - A Lightweight TCP/IP stack - Bugs: bug #1601, memory leak in etharp

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1601: memory leak in etharp

Submitted by:  Leon Woestenberg <likewise>
Submitted on:  Mon 04 Nov 2002 11:00:45 AM UTC  
 
Category: NoneSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Leon Woestenberg <likewise>
Open/Closed: ClosedPlanned Release: None
lwIP version: None

Mon 04 Nov 2002 03:03:23 PM UTC, comment #1:

The fix involves the following patch to Ethernet drivers'
output code. It must call etharp_output_sent().

err_t ethif_output(struct netif netif, struct pbuf p, struct ip_addr *ipaddr)
{
p = etharp_output(netif, ipaddr, p);
/* network hardware address obtained? */
if (p != NULL)
{
/* send out the packet */
return cs8900_output(netif, p);
/* clean any ARP left-overs */
etharp_output_sent(p);
p = NULL;
}
...

Leon Woestenberg <likewise>
Project MemberIn charge of this item.
Mon 04 Nov 2002 11:00:45 AM UTC, original submission:

When etharp_output() returns an ARP request instead of
the original packet, the pbuf containing the request
will not be freed.

Leon Woestenberg <likewise>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 11 Nov 2002 02:52:46 PM UTClikewiseStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1