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: Joel Cunningham
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-825-g2b2ea50
Date: Mon, 31 Jul 2017 09:59:50 -0400 (EDT)

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  2b2ea50cb1b6e26a3d26eeca001529249afa1845 (commit)
      from  006bb84368080385d31070bfe5cf4827d7645c08 (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 2b2ea50cb1b6e26a3d26eeca001529249afa1845
Author: Joel Cunningham <address@hidden>
Date:   Fri Jul 28 16:36:57 2017 -0500

    ip4: fix swapped src/dst params with ip4_route_src
    
    This fixes a couple of occurrences where the src and dst parameters to
    ip4_route_src() were swapped. This was most likely due to confusion between
    ip_route(src, dst) and ip4_route_src(dst, src)
    
    This was found in a system where LWIP_IPV4_SRC_ROUTING is 0
    
    The UDP case was an application socket bound to INADDR_ANY with
    IP_MULTICAST_IF set. Transmits would result in calling ip4_route(dst) where
    dst was pcb->local_addr (which was INADDR_ANY) instead of pcb->mcast_ip4.
    This resulted in a routing failure
    
    The ICMP issue was found through code analysis only

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

Summary of changes:
 src/core/ipv4/icmp.c | 2 +-
 src/core/udp.c       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


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



reply via email to

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