[dpdk-dev] [PATCH 0/2] Thread termination leak fixes

David Marchand david.marchand at redhat.com
Thu May 6 11:44:50 CEST 2021


After looking at the control thread API use in recent changes, I noticed
that some thread resources are not properly released.
This series fixes two net drivers.

Additional notes:
- I noticed that event/dlb2 never kills/terminates its service thread.
  It means unplug of this device (if supported) would leak the associated
  thread resources. I leave it to this driver maintainer to comment/fix.

- The vhost library also lets a service thread in the background but since
  there is no way to unitialize this library, there is no leak to fix from
  my pov.

-- 
David Marchand

David Marchand (2):
  net/ark: fix leak on thread termination
  net/ice: fix leak on thread termination

 drivers/net/ark/ark_pktgen.c     | 2 ++
 drivers/net/ice/ice_dcf_parent.c | 2 ++
 2 files changed, 4 insertions(+)

-- 
2.23.0



More information about the dev mailing list