Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/multi_process: check server port validity
[ upstream commit 1f41d98 ] The mp_server incorrectly allows a port mask that included hidden ports and which later caused either lost packets or failed initialization. This fixes explicitly checking that each bit in portmask is a valid port before using it. Fixes: 5b7ba31 ("ethdev: add port ownership") Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Acked-by: Matan Azrad <matan@mellanox.com>
- Loading branch information
1 parent
7280388
commit 573bdb4
Showing
3 changed files
with
25 additions
and
24 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