> From: Stephen Hemminger [mailto:[email protected]]
> 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 <[email protected]>
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---

Reviewed-by: Morten Brørup <[email protected]>

Reply via email to