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-1387-g71c13c6
Date: Wed, 18 Apr 2018 16:03:30 -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  71c13c60791a3bc69a3211ba9f991a65e56b5049 (commit)
       via  3abc8ae1612878ea35b3c0a50ced55d867528dfc (commit)
       via  41fea4ad7dc68c844083883aac229576f46f3106 (commit)
       via  1090e9cdecd7ccf033293ec60212f3b1713d0b59 (commit)
      from  b1fe8cf4b8bf0bb1f9f978ff58a50568b95138a1 (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 71c13c60791a3bc69a3211ba9f991a65e56b5049
Author: goldsimon <address@hidden>
Date:   Wed Apr 18 22:03:11 2018 +0200

    Improve the socket stress test to better test fullduplex

commit 3abc8ae1612878ea35b3c0a50ced55d867528dfc
Author: goldsimon <address@hidden>
Date:   Wed Apr 18 21:51:34 2018 +0200

    LWIP_NETCONN_FULLDUPLEX: unblock rx threads on close
    
    Threads blocked on the rx mbox are counted and on close,
    one "netconn closed" message per thread is posted to the mbox
    to ensure all threads are woken.
    
    The netconn can then be safely deleted. In socket API, "fd_used"
    and "fd_free_pending" help with auto-deleting the netconn.
    
    Signed-off-by: goldsimon <address@hidden>

commit 41fea4ad7dc68c844083883aac229576f46f3106
Author: goldsimon <address@hidden>
Date:   Thu Apr 12 17:19:30 2018 +0200

    sockets: change closing: netconn is freed when socket is closed, not before
    
    This is necessary to implement fullduplex sockets that are closed 
asynchronously:
    the netconn in the socket must not be freed before all threads have given up
    using it.
    
    We now call the first part of 'netconn_delete()' (moved to 
'netconn_prepare_delete()')
    from lwip_close() and only actually end up calling 'netconn_free()' from
    'free_socket()', which might be called later if LWIP_NETCONN_FULLDUPLEX is 
enabled.
    
    Signed-off-by: goldsimon <address@hidden>

commit 1090e9cdecd7ccf033293ec60212f3b1713d0b59
Author: goldsimon <address@hidden>
Date:   Thu Apr 12 17:14:35 2018 +0200

    LWIP_NETCONN_FULLDUPLEX: prevent taking recursive sys arch lock
    
    Calling SYS_ARCH_PROTECT() could happen twice in 'free_socket()' if
    that free was executed delayed (e.g. in 'done_socket_locked()').
    
    Signed-off-by: goldsimon <address@hidden>

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

Summary of changes:
 src/api/api_lib.c                 |  90 +++++++++++++++++---
 src/api/api_msg.c                 | 128 ++++++++++++++++++++++-------
 src/api/sockets.c                 | 152 +++++++++++++++++++++++-----------
 src/include/lwip/api.h            |  10 +++
 src/include/lwip/priv/api_msg.h   |   3 +
 test/sockets/sockets_stresstest.c | 169 +++++++++++++++++++++++++++++++-------
 6 files changed, 436 insertions(+), 116 deletions(-)


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



reply via email to

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