mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-24 00:57:03 +08:00
fix bug #2595: "loopif results
in NULL reference for incoming TCP packets". Loopif has to be configured (using LWIP_LOOPIF_MULTITHREADING) to directly call netif->input() (multithreading environments, e.g. netif->input() = tcpip_input()) or putting packets on a list that is fed to the stack by calling loopif_poll() (single-thread / NO_SYS / polling environment where e.g. netif->input() = ip_input).
This commit is contained in:
@@ -15,10 +15,8 @@ ethernetif.c
|
||||
network device drivers. It uses the etharp.c ARP code.
|
||||
|
||||
loopif.c
|
||||
An example network interface that shows how a "loopback"
|
||||
interface would work. This is not really intended for actual
|
||||
use, but as a very basic example of how initialization and
|
||||
output functions work.
|
||||
A "loopback" network interface driver. It requires configuration
|
||||
through the define LWIP_LOOPIF_MULTITHREADING (see opt.h).
|
||||
|
||||
slipif.c
|
||||
A generic implementation of the SLIP (Serial Line IP)
|
||||
|
||||
Reference in New Issue
Block a user