[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] IMPORTANT: Ethernet driver implementors: please rea
From: |
leon . woestenberg |
Subject: |
[lwip-users] [lwip] IMPORTANT: Ethernet driver implementors: please read this. |
Date: |
Thu, 09 Jan 2003 00:22:35 -0000 |
A memory leak was found in the etharp.c and Ethernet drivers architecture.
Ethernet drivers' output code must follow this skeleton:
(See
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1686&group_id=3159)
err_t ethif_output(struct netif
*netif, struct pbuf *p, struct
ip_addr *ipaddr)
{
p
= etharp_output(netif, ipaddr, p);
if
(p != NULL)
{
/*
send out the packet */
cs8900_output(netif, p);
/*
clean any ARP left-overs */
etharp_output_sent(p);
p
= NULL;
}
return ERR_OK;
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] IMPORTANT: Ethernet driver implementors: please read this.,
leon . woestenberg <=