[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27345] ip_frag() does not use the LWIP_NETIF_LOOPBACK
From: |
hanhui |
Subject: |
[lwip-devel] [bug #27345] ip_frag() does not use the LWIP_NETIF_LOOPBACK function |
Date: |
Sat, 29 Aug 2009 13:54:15 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; MEGAUPLOAD 2.0) |
URL:
<http://savannah.nongnu.org/bugs/?27345>
Summary: ip_frag() does not use the LWIP_NETIF_LOOPBACK
function
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: hanhui03
Submitted on: Sat Aug 29 13:54:13 2009
Category: IPv4
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
If a packet's destination address are same as netif that send this
packet(source address == destination address),
ip_frag() dose not use netif_loop_output() to send this packet.
---------CODE---------
netif->output(netif, header, dest);
---------CODE---------
Should be replaced by:
---------CODE---------
#if (LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF)
if (ip_addr_cmp(dest, &netif->ip_addr)) {
netif_loop_output(netif, p, dest);
} else
#endif /* (LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF) */
{
netif->output(netif, header, dest);
}
---------CODE---------
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat Aug 29 13:54:14 2009 Name: ip_frag.c Size: 27kB By: hanhui03
<http://savannah.nongnu.org/bugs/download.php?file_id=18657>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27345>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #27345] ip_frag() does not use the LWIP_NETIF_LOOPBACK function,
hanhui <=