b29427649b
The 'info' struct was being declared as a NULL pointer. If a NULL
pointer is passed to 'rte_dma_info_get', EINVAL is returned and the
struct is not populated. This subsequently causes a segfault when
dereferencing 'info'.
This patch fixes the issue by simply declaring 'info' on the stack and
passing its address to 'rte_dma_info_get'.
Fixes:
|
||
---|---|---|
.. | ||
cnxk | ||
dpaa | ||
dpaa2 | ||
hisilicon | ||
idxd | ||
ioat | ||
skeleton | ||
meson.build |