From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH net 8/9] hv_netvsc: propagate rx filters to VF Date: Thu, 1 Mar 2018 15:46:58 -0800 Message-ID: <20180301154658.7d0e819a@xeon-e3> References: <20180301182756.23027-1-sthemmin@microsoft.com> <20180301182756.23027-9-sthemmin@microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: devel@linuxdriverproject.org, netdev@vger.kernel.org To: kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com Return-path: In-Reply-To: <20180301182756.23027-9-sthemmin@microsoft.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: netdev.vger.kernel.org On Thu, 1 Mar 2018 10:27:55 -0800 Stephen Hemminger wrote: > + if (change & IFF_PROMISC) > + dev_set_promiscuity(net, > + (net->flags & IFF_PROMISC) ? 1 : -1); This should be vf_netdev here.