[Top][All Lists]

[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-295-ga3fc380
Date: Fri, 10 Feb 2017 15:30:36 -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  a3fc38037a5938cf71dc62e413744b15c17ed292 (commit)
       via  240cf62056358caa53d9e83067a4fa0407974b8c (commit)
      from  b9e66bfcfb572c11e8cfa54a9b9af76cad8d319a (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 a3fc38037a5938cf71dc62e413744b15c17ed292
Author: sg <address@hidden>
Date:   Fri Feb 10 21:30:07 2017 +0100

    minor: move assert to a slightly better place

commit 240cf62056358caa53d9e83067a4fa0407974b8c
Author: David van Moolenbroek <address@hidden>
Date:   Fri Feb 10 17:26:38 2017 +0000

    tcp: fix accept event on closed listening PCBs
    If LWIP_CALLBACK_API is not defined, but TCP_LISTEN_BACKLOG is, then
    the LWIP_EVENT_ACCEPT TCP event may be triggered for closed listening
    sockets.  This case is just as disastrous for the event API as it is
    for the callback API, as there is no way for the event hook to tell
    whether the listening PCB is still around.  Add the same protection
    against this case for TCP_LISTEN_BACKLOG as was already in place for
    Also remove one NULL check for LWIP_CALLBACK_API that had already
    become redundant for all callers, making the TCP_EVENT_ACCEPT code
    for that callback wrapper more in line with the rest of the wrappers.


Summary of changes:
 src/core/tcp_in.c                | 9 +++++----
 src/include/lwip/priv/tcp_priv.h | 2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

lwIP - A Lightweight TCPIP stack

reply via email to

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