Skip to content
Commit b22c95b7 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: gptp: Fix field ordering in gptp_priority_vector struct



The steps_removed field must be placed right after root_system_id
so that priority vector comparision can be done in one memcmp()
call. This fixes the best master clock selection algorithm (BMCA).

Fixes #28177

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent d9dad985
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment