Re: [dpdk-dev] [PATCH] ethdev: check process type before reset dev data

2017-01-12 Thread Thomas Monjalon
2017-01-12 16:33, Haibo Zhang: > Overwrite dev date by no primary process would cause > segment fault issue to primary proccess during receive pkt > > Signed-off-by: Haibo Zhang Thank you for the fix. A similar one was proposed by Yuanhan: http://dpdk.org/ml/archives/dev/2017-January/054

[dpdk-dev] [PATCH] ethdev: check process type before reset dev data

2017-01-12 Thread Haibo Zhang
Overwrite dev date by no primary process would cause segment fault issue to primary proccess during receive pkt Signed-off-by: Haibo Zhang --- lib/librte_ether/rte_ethdev.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librt