lwip-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Erik Ekman
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. STABLE-2_1_0_RELEASE-535-g9f7d917
Date: Mon, 6 Dec 2021 18:58:26 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  9f7d9170c1d849064287196e7c927701b755f969 (commit)
      from  63d21c53e55dc10edb9591b004cb1f558a9183e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9f7d9170c1d849064287196e7c927701b755f969
Author: weycen <weycen76@gmail.com>
Date:   Sun Sep 26 23:05:53 2021 +0800

    netif: fix the netif's index error
    
    When using multiple netifs on one hardware interface (e.g. when mapping 
multiple IP addresses to one hardware interface), if the netif's low-level 
receive routine cannot decide for the correct netif, here the `netif` parameter 
may be a default netif, in this case, `p-> if_idx` will get a wrong netif index 
value. It should be placed after `netif = LWIP_ARP_FILTER_NETIF_FN(p, netif, 
lwip_htons(type));`.  Filter function can returns the correct netif before 
assigning `p-> if_idx`.

-----------------------------------------------------------------------

Summary of changes:
 src/netif/ethernet.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]