Some apps, such as fstack, will use secondary process to access the memory of eth_dev_ops, and they want to get the info of dev, but hinic driver does not initialized it when in secondary process.
-- v1->v2: - modify the patch title v1: - fix coredump when PMD used by fstack Guoyang Zhou (1): net/hinic: fix coredump when in secondary process drivers/net/hinic/base/hinic_compat.h | 25 ++++++++----------------- drivers/net/hinic/hinic_pmd_ethdev.c | 5 +++++ 2 files changed, 13 insertions(+), 17 deletions(-) -- 1.8.3.1