Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ena: fix crash with unsupported device argument
[ upstream commit 9f220a9 ] As the documentation of rte_kvargs_parse() states, the valid_keys argument must be NULL terminated. Lack of this feature may cause segmentation fault if the passed devarg will be different then the supported value. Fixes: 8a7a73f ("net/ena: support large LLQ headers") Signed-off-by: Michal Krawczyk <mk@semihalf.com> Reviewed-by: Igor Chauskin <igorch@amazon.com> Reviewed-by: Shay Agroskin <shayagr@amazon.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
- Loading branch information