[PATCH 0/2] Optimize the code to void resource leaks

Renyong Wan wanry at yunsilicon.com
Fri Apr 18 12:34:41 CEST 2025


This patchset focuses on optimizing the code to avoid resource leaks.

Renyong Wan (2):
  net/xsc: fix resource leaks
  net/xsc: optimize release path

 drivers/net/xsc/xsc_dev.c    |  5 ++++-
 drivers/net/xsc/xsc_ethdev.c | 12 ++++++++++--
 drivers/net/xsc/xsc_np.c     |  1 +
 drivers/net/xsc/xsc_rx.c     | 14 ++++++++++----
 drivers/net/xsc/xsc_vfio.c   |  1 +
 5 files changed, 26 insertions(+), 7 deletions(-)

-- 
2.25.1


More information about the dev mailing list