-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/nitrox: fix panic with high number of segments
[ upstream commit 4a469e1216384d19a6dc3950686f479e30e319a9 ] When the number of segments in source or destination mbuf is higher than max supported then the application was panicked during the creation of sglist when RTE_VERIFY was called. Validate the number of mbuf segments and return an error instead of panicking. Fixes: 678f3ec ("crypto/nitrox: support cipher-only operations") Fixes: 9282bde ("crypto/nitrox: add cipher auth chain processing") Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com>
- Loading branch information
Showing
1 changed file
with
16 additions
and
5 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