Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devargs: fix crash with uninitialized parsing
[ upstream commit 356a2aa ] The function rte_devargs_parse() previously was safe to call with non-initialized devargs structure as parameter. When adding the support for the global device syntax, this assumption was broken. Restore it by forcing memset as part of the call itself. Bugzilla ID: 933 Fixes: b344eb5 ("devargs: parse global device syntax") Signed-off-by: Madhuker Mythri <madhuker.mythri@oracle.com> Signed-off-by: Gaetan Rivet <grive@u256.net>
- Loading branch information