zephyr/subsys
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
..
bindesc
bluetooth Bluetooth: Host: Forbid holding on to buf given to stack 2024-05-21 11:51:20 +01:00
canbus canbus: isotp: use proper CAN ID masks 2024-04-24 09:53:06 +02:00
console
debug debug: Add MIPI STPv2 data stream decoder 2024-05-21 16:48:28 -04:00
demand_paging kernel: mmu: abstract access to page frame flags and address 2024-05-13 16:04:40 -04:00
dfu
disk
dsp
emul treewide: drivers: espi: Adjust terms per eSPI specification 1.5 2024-05-02 13:56:46 -04:00
fb
fs fs: fuse: fix fuse include path 2024-05-06 22:53:27 +01:00
input
ipc ipc: icmsg_me: Fix possible integer overflow 2024-05-09 12:40:24 -04:00
jwt
llext subsys/llext: Generate syscalls stubs for EDK exclusively for userspace 2024-05-17 16:21:48 +01:00
logging logging: Fix network backend compilation 2024-05-20 14:25:44 +03:00
lorawan convert: use k_uptime_seconds 2024-05-14 09:32:01 +02:00
mem_mgmt
mgmt mgmt: mcumgr: transport: Add missing net include file 2024-05-21 09:36:24 +02:00
modbus
modem modem: chat: implement buffer stats 2024-05-20 14:40:06 +03:00
net net: gptp: fix race condition on timestamp callback 2024-05-21 16:49:05 -04:00
pm arch: arm: cortex_m: pm_s2ram: Add option for custom marking 2024-05-17 14:33:47 +02:00
portability
random
retention
rtio
sd sd: sd_ops: take card lock when issuing IOCTL command 2024-05-16 18:54:21 -04:00
sensing
settings subsys/settings: add a function to save subtree 2024-05-01 22:56:19 +01:00
shell shell: devmem: address cmd_dump multiple call problem 2024-05-15 10:13:23 +02:00
sip_svc linker: subsys: Use Z_LINK_ITERABLE_SUBALIGN 2024-04-20 13:45:25 -04:00
stats
storage
task_wdt
testsuite Bluetooth: Controller: Add BT_CTLR_HCI Kconfig option 2024-05-20 15:16:54 +01:00
timing
tracing tracing: full reset during init 2024-04-24 17:08:24 -04:00
usb usb: device_next: add initial BOS support 2024-05-17 16:25:02 +01:00
zbus
CMakeLists.txt
Kconfig