[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c
From: |
Nicolas Moreau |
Subject: |
[lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c |
Date: |
Wed, 08 Jan 2003 23:17:26 -0000 |
Just out of curiosity, is someone validating, applying these patches ?
Nic
Quoting Martin Glunz <address@hidden>:
> Hello
>
> I´ve found a memory leak in the etharp.c module:
> When etharp_output() returns an ARP request instead of
> the original packet, the pbuf containing the request
> will not be freed. My fix is the insertion of a new
> function etharp_arp_free() that should be called after
> the packet is sent.
>
> There is another problem in etharp.c:
> If a packet gets queued because an ARP request must be sent,
> pbuf_ref() is called for this packet. This is ok so far, but
> if the queued pbuf is chained, the chain may get lost later,
> but before the packet is resent. I´ve fixed this in
> pbuf_dechain() in pbuf.c.
-------------------------------------------------
[This message was sent through the lwip discussion list.]
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Kieran Mansley, 2003/01/08
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Leon Woestenberg, 2003/01/08
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c,
Nicolas Moreau <=
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Jani Monoses, 2003/01/08
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, leon . woestenberg, 2003/01/08
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Martin Glunz, 2003/01/09
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Leon Woestenberg, 2003/01/09
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Martin . Glunz, 2003/01/09
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Martin Glunz, 2003/01/09
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, leon . woestenberg, 2003/01/09
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Adam Dunkels, 2003/01/09
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, leon . woestenberg, 2003/01/09
- [lwip-users] Re: [lwip] Memory leak and queued packets in etharp.c, Jani Monoses, 2003/01/09