[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-585-g8e83e20 |
Date: |
Tue, 18 Apr 2017 14:50:49 -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 8e83e206f4e19566e88d5aec6f58dd4736ae43f8 (commit)
via 7ac3056da9cb7d182e88a4a1b180993b82d282e8 (commit)
from 0952e618bdfd683d371bb97adf1fbb0ef488e246 (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 8e83e206f4e19566e88d5aec6f58dd4736ae43f8
Author: Tim Cussins <address@hidden>
Date: Tue Apr 18 15:36:14 2017 +0100
sockets.c: Make sock_inc_used overflow check robust.
Before this patch, it was possible that the overflow check might
miss an overflow event.
e.g. Consider 2 threads, both executing this method. u8_t fd_used is on
255...
Thread A -> atomically increment fd_used (which is now 0)
Thread B -> atomically increment fd_used (which is now 1)
Thread A -> check overflow... sees everything ok
Thread B -> check overflow... sees everything ok
And the overflow is missed :(
Signed-off-by: goldsimon <address@hidden>
commit 7ac3056da9cb7d182e88a4a1b180993b82d282e8
Author: Tim Cussins <address@hidden>
Date: Tue Apr 18 15:32:14 2017 +0100
sockets.c: Add missing lwip_select_dec_sockets_used within lwip_select.
Signed-off-by: goldsimon <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
src/api/sockets.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
lwIP - A Lightweight TCPIP stack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-585-g8e83e20,
Simon Goldschmidt <=