> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Thursday, 9 November 2023 20.46
> 
> If dumpcap is run twice with each instance pointing a different
> interface, it would fail because of overlap in ring a pool names.
> Fix by putting process id in the name.
> 
> It is still not allowed to do multiple invocations on the same
> interface because only one callback is allowed and only one copy
> of mbuf is done. Dumpcap will fail with error in this case:
> 
>    pdump_prepare_client_request(): client request for pdump
> enable/disable failed
>    EAL: Error - exiting with code: 1
>      Cause: Packet dump enable on 0:net_null0 failed File exists
> 
> Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application")
> Reported-by: Isaac Boukris <ibouk...@gmail.com>
> Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
> ---

Reviewed-by: Morten Brørup <m...@smartsharesystems.com>

Reply via email to