Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

From: David Miller
Date: Fri Aug 30 2019 - 02:02:41 EST


From: Jiri Pirko <jiri@xxxxxxxxxxx>
Date: Fri, 30 Aug 2019 07:39:40 +0200

> Because the "promisc mode" would gain another meaning. Now how the
> driver should guess which meaning the user ment when he setted it?
> filter or trap?
>
> That is very confusing. If the flag is the way to do this, let's
> introduce another flag, like IFF_TRAPPING indicating that user wants
> exactly this.

I don't understand how the meaning of promiscuous mode for a
networking device has suddenly become ambiguous, when did this start
happening?