zephyr/subsys
Lu Ding 818d90efda net: gptp: Fix sync_receipt_time calculation in gptp_mi
Fix #42800
Both pss->rate_ratio and port_ds->neighbor_rate_ratio are double type
but sync_receipt_time is uint64_t. If pss->rate_ratio is less than 1
or sync_receipt_time * port_ds->neighbor_rate_ratio is less than 1,
sync_receipt_time becomes 0 due to double to uint64_t cast.
Assign port_ds->neighbor_prop_delay to sync_receipt_time first to fix
this issue.

Signed-off-by: Lu Ding <lucasdinglu@gmail.com>
2022-03-07 10:54:49 +01:00
..
bluetooth Bluetooth: Controller: Fix k_sem_give call from Zero Latency IRQs 2022-03-07 10:53:50 +01:00
canbus canbus: isotp: ensure consecutive frames are sent in FIFO order 2022-02-21 19:37:35 -05:00
console
cpp cpp: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
debug debug: thread_analyzer: Use bigger stack in certain configurations 2022-02-22 14:44:11 +01:00
demand_paging
dfu
disk
emul
fb samples: use chosen property to get default display controller 2021-12-10 12:47:30 +01:00
fs modules: littlefs: move CMake glue code from littlefs repo into Zephyr 2022-03-02 15:34:11 +01:00
ipc ipc_service: Start the wq only once 2022-03-07 10:52:51 +01:00
jwt
logging logging: Fix Kconfig dependency 2022-03-03 12:06:10 -05:00
lorawan
mgmt mgmt/mcumgr/lib: Fix taskstat thread name processing 2022-03-07 10:53:20 +01:00
modbus modbus: do not loop in UART IRQ handler 2022-02-09 22:11:16 -05:00
net net: gptp: Fix sync_receipt_time calculation in gptp_mi 2022-03-07 10:54:49 +01:00
pm pm: constraint: drop __weak 2022-02-28 10:18:38 +01:00
portability portability: cmsis: use correct type for atomics 2021-11-15 09:59:01 -05:00
random random: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
settings settings: use nvs_mount 2022-03-01 12:46:34 +01:00
shell ring_buffer: make finish methods final 2022-02-28 10:52:41 +01:00
stats
storage storage/flash_map: Use larger type for alignment 2021-12-30 16:32:02 -05:00
task_wdt task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00
testsuite ring_buffer: make finish methods final 2022-02-28 10:52:41 +01:00
timing
tracing tracing_user: Add ISR nest level parameter 2022-01-21 14:38:35 -05:00
usb usb: dfu: disable USB DFU uploading by default 2022-02-18 09:32:22 -08:00
CMakeLists.txt
Kconfig