zephyr/subsys/net
Jean-Nicolas Graux c2f65cddfc net: gptp: fix race condition on timestamp callback
If time aware system has more than 1 gptp port, because there is only
one boolean to handle callback registering, a race condition can occur
for instance in case 2 master ports are waiting for a timestamp following
sending of sync message. More in details, callback may be unregistered
by port 1 while port 2 is waiting for timestamp event.

The issue is solved by declaring as much as boolean and struct
net_if_timestamp_cb as the number of declared ports
(=CONFIG_NET_GPTP_NUM_PORTS).

Signed-off-by: Jean-Nicolas Graux <jean-nicolas.graux@st.com>
2024-05-21 16:49:05 -04:00
..
conn_mgr cmake: linker: Use kconfig for iterable section subalign 2024-05-07 18:01:37 -04:00
ip net: ipv6: Fix DAD conflict detection 2024-05-20 14:26:24 +03:00
l2 net: gptp: fix race condition on timestamp callback 2024-05-21 16:49:05 -04:00
lib net: lib: coap_client: observe-related fixes 2024-05-21 16:42:38 -04:00
pkt_filter
buf_simple.c net: buf_simple: Add support for 40 bit data type 2024-03-26 19:32:27 -04:00
buf.c net: buf: Disallow blocking allocation in syswq 2024-04-23 19:47:24 -04:00
CMakeLists.txt
hostname.c logging: net: update hostname 2024-01-17 14:42:58 +01:00
Kconfig net: Add Kconfig for net buf alignment 2023-12-14 09:29:47 +01:00
Kconfig.hostname net: add set hostname function 2024-01-17 14:42:58 +01:00
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net