security: avoid hangs in the peer set and related code #7858
Labels
A-network
Area: Network protocol updates or fixes
C-bug
Category: This is a bug
C-tech-debt
Category: Code maintainability issues
I-hang
A Zebra component stops responding to requests
I-remote-trigger
Remote nodes can make Zebra do something bad
S-needs-triage
Status: A bug report needs triage
Motivation
There are still some potential hangs in the peer set and related code.
Specifications
Rust futures need to give a copy of their task waker to any code that could potentially wake the task.
Complex Code or Requirements
Method calls shouldn't be skipped based on the outcomes of previous methods, unless the connection is shutting down.
Testing
This is fairly straightforward, we need to check that each method that could wake the service or future is called.
We have existing tests that cover this code.
Related Work
Follow up to #7772.
The text was updated successfully, but these errors were encountered: