-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgmt: smp: Fix race condition by using same work queue
Fix possible race condition where SMP client might release the network buffer before system worker queue has processed it. In smp_client uses shared resources like worker queue linked list and network buffers without maintaining any thread safety. For unknown reasons, retry timeout handling is pushed into system worker queue while the actual transmission is handled from SMP work queue. Fix the issue by using the same SMP work queue for both delayable timeout handling as well as transmission handling. Signed-off-by: Seppo Takalo <[email protected]>
- Loading branch information
1 parent
3163325
commit 9fa82f0
Showing
3 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters