[PATCH 3/6] app/dumpcap: fix preserving promiscuous mode

Stephen Hemminger stephen at networkplumber.org
Wed Jan 4 04:04:50 CET 2023


On Mon,  2 Jan 2023 16:24:38 +0000
Ben Magistro <koncept1 at gmail.com> wrote:

> When stopping dumpcap and the main application set an interface to
> promiscuous mode, it would be disabled when dumpcap performed its
> cleanup.  This results in a change of behavior for the main application
> after running/utilizing dumpcap. The initial promiscuous mode is now
> stored and compared when cleaning up allowing that to be preserved.
> 
> Fixes: d59fb4d ("app/dumpcap: add new packet capture application")
> Cc: stephen at networkplumber.org
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ben Magistro <koncept1 at gmail.com>

What I did in the fix patch set add promisc_mode flag
to existing interface array.


More information about the stable mailing list