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: Dirk Ziegelmeier
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-41-g1d4cbe7
Date: Fri, 25 Nov 2016 12:02:49 +0000 (UTC)

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  1d4cbe768df73d86bbd16dbe648e9aee54f95116 (commit)
      from  0e07ed4b13fb8a3f23158b11dc298b4c9486bbfb (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 1d4cbe768df73d86bbd16dbe648e9aee54f95116
Author: Axel Lin <address@hidden>
Date:   Fri Nov 25 19:47:34 2016 +0800

    netif: Add proper lock protect for accessing netif->loop_first
    
    All the reset part of the code accessing netif->loop_first has lock 
protection,
    the only missing part is "while (netif->loop_first != NULL)".
    Fix it by adding lock protect around the while loop.
    
    Also convert the code to use while{} loop instead of do .. while{} loop,
    then we can avoid NULL test for in pointer in each loop and reduce a level 
of indent.
    
    Signed-off-by: Axel Lin <address@hidden>

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

Summary of changes:
 src/core/netif.c |   75 +++++++++++++++++++++++++-----------------------------
 1 file changed, 35 insertions(+), 40 deletions(-)


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



reply via email to

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