Skip to content

MSTP harden init and BPDU handling#84

Open
yamontv wants to merge 1 commit intosonic-net:masterfrom
yamontv:fix/bugs_and_safety
Open

MSTP harden init and BPDU handling#84
yamontv wants to merge 1 commit intosonic-net:masterfrom
yamontv:fix/bugs_and_safety

Conversation

@yamontv
Copy link
Contributor

@yamontv yamontv commented Jan 22, 2026

  • check CIST/MSTI portmask allocations and fail fast on error
  • free debug port mask on bmp_alloc failure
  • guard disable on NULL bridge
  • validate BPDU size before host-order conversion
  • log BPDU delays in seconds
  • clear MSTI selected flag on cost/priority updates
  • skip NULL vlan masks on teardown and init restart flag

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

- check CIST/MSTI portmask allocations and fail fast on error
- free debug port mask on bmp_alloc failure
- guard disable on NULL bridge
- validate BPDU size before host-order conversion
- log BPDU delays in seconds
- clear MSTI selected flag on cost/priority updates
- skip NULL vlan masks on teardown and init restart flag

Signed-off-by: Vyacheslav Yamont <yamontv@gmail.com>
@yamontv yamontv force-pushed the fix/bugs_and_safety branch from a172f14 to 0fc4d05 Compare January 22, 2026 12:32
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants