[PATCH v3 ] dumpcap: fix mbuf pool ring type

Morten Brørup mb at smartsharesystems.com
Thu Nov 9 08:21:38 CET 2023


> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Wednesday, 8 November 2023 18.48
> 
> The internal buffer pool used for copies of mbufs captured
> needs to be thread safe.  If capturing on multiple interfaces
> or multiple queues, the same pool will be used (consumers).
> And if the capture ring gets full, the queues will need
> to put back the capture buffer which leads to multiple producers.
> 
> Bugzilla ID: 1271
> Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application")
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---

Reviewed-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list