On Mon, Jul 21, 2025 at 06:55:22AM -0400, Khadem Ullah wrote: > In secondary processes, accessing 'dev->data->dev_private' directly can > cause a segmentation fault if the primary process has exited or the > shared memory is unavailable. > > This patch adds a check for dev/data/dev_private and uses > rte_mem_virt2phy to ensure the pointer is still valid. > > Fixes: 690175ee51bf ('net/ice: support getting device information') > Cc: sta...@dpdk.org > > Signed-off-by: Khadem Ullah <14pwcse1...@uetpeshawar.edu.pk> > --- > drivers/net/intel/ice/ice_ethdev.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > This is not something that drivers should need individual updates for. Once a general solution (if any) is found, will consider a new patch for ice driver in that case.
/Bruce