[PATCH] [PATCH v4] lib/ethdev: fix segfault in secondary process by validating dev_private pointer
    Khadem Ullah 
    14pwcse1224 at uetpeshawar.edu.pk
       
    Wed Jul 30 07:07:02 CEST 2025
    
    
  
Hi Stephen,
Many thanks for diving deeper into the issue and sharing the insights.
I agree. given that the primary tears down all the devices on exit, the secondary is left with dangling pointers and inconsistent state. Without a mechanism to notify or synchronize that teardown, I think it is the only option for the secondary to exit immediately, without attempting any cleanups, once it detects the primary has exited.
Best regards,
Khadem
    
    
More information about the stable
mailing list