Skip to content
Commit 3d8bae81 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Jukka Rissanen
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).

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