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: Simon Goldschmidt
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-699-g84502e5
Date: Mon, 29 May 2017 15:49:12 -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  84502e5ae0d4aac26b41c212ef16af48105e136f (commit)
       via  fb9fabb87ccce7bd9d603b237ce3e7c678560ebc (commit)
      from  cbbfb1356c7a5921a2de92d8da095d8471cbe281 (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 84502e5ae0d4aac26b41c212ef16af48105e136f
Author: Tim Cussins <address@hidden>
Date:   Mon May 29 14:53:47 2017 +0100

    etharp.c: Ensure etharp_query() allocates adequate pbuf if 
copying/consolidating.
    
    etharp_query() queues packets, instead of sending, if a relevant 
arp-request is
    pending.
    
    Code walks the packet (a pbuf chain) to determine whether any pbufs are 
marked
    'volatile': If so, we cannot simply enqueue the packet, and instead 
allocate a
    new pbuf from RAM, copying the original packet, and enqueueing this new 
pbuf.
    
    The bug here is that the allocation refers to the tot_len field of a temp 
pbuf*,
    'p', instead of the head, 'q'.
    
    In the case where the first pbuf of the chain is non-volatile but the 
second pbuf
    *is* volatile, then we'll request an allocation that uses the tot_len field 
of
    the second pbuf. If the first pbuf is non-zero length, the allocated pbuf 
(chain)
    will be too small to allow the copy.
    
    Signed-off-by: goldsimon <address@hidden>

commit fb9fabb87ccce7bd9d603b237ce3e7c678560ebc
Author: Our Air Quality <address@hidden>
Date:   Thu May 25 13:56:52 2017 +1000

    Initialize the tcp listen pcb netif_idx to NETIF_NO_INDEX.
    
    Signed-off-by: goldsimon <address@hidden>

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

Summary of changes:
 src/core/ipv4/etharp.c | 2 +-
 src/core/tcp.c         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)


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



reply via email to

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