[PATCH v4 0/8] packet capture bugfix and secondary support

Stephen Hemminger stephen at networkplumber.org
Thu Oct 23 17:46:21 CEST 2025


This patch series addresses the problem of packet capture when
the secondary process is sending/receiving by using the same
mechanism as hot plug.  It also fixes some bugs on shutdown
of dumpcap (and pdump).

The documentation has been updated and improved as well.

v4 - instead of using alloca() instead process in chunks
     which avoids possible stack overflow

Stephen Hemminger (8):
  dumpcap: handle primary process exit
  pdump: handle primary process exit
  pdump: fix races in callbacks
  dumpcap: handle pdump requests from primary
  pdump: handle pdump requests from primary
  pdump: forward callback enable to secondary
  pdump: remove use of VLA
  doc: update documentation on pdump library

 app/dumpcap/main.c                           |  14 +
 app/pdump/main.c                             |  16 +-
 doc/guides/prog_guide/img/pdump_overview.svg | 135 ++++++++
 doc/guides/prog_guide/pdump_lib.rst          | 183 +++++++----
 doc/guides/rel_notes/release_25_11.rst       |   5 +
 lib/pdump/meson.build                        |   2 -
 lib/pdump/rte_pdump.c                        | 320 ++++++++++++++++---
 7 files changed, 550 insertions(+), 125 deletions(-)
 create mode 100644 doc/guides/prog_guide/img/pdump_overview.svg

-- 
2.51.0



More information about the dev mailing list