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

Bruce Richardson bruce.richardson at intel.com
Thu Oct 23 18:22:32 CEST 2025


On Thu, Oct 23, 2025 at 08:46:21AM -0700, Stephen Hemminger wrote:
> 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
> 
While I haven't been able to do a full review of all patches, the idea
generally looks good.

Series-acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list