From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiner Kallweit Subject: Re: [PATCH net-next] net: core: change bool members of struct net_device to bitfield members Date: Mon, 8 Oct 2018 23:21:27 +0200 Message-ID: References: <20181008142009.7b32df14@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: David Miller , "netdev@vger.kernel.org" To: Stephen Hemminger Return-path: Received: from mail-wm1-f67.google.com ([209.85.128.67]:55103 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbeJIEfR (ORCPT ); Tue, 9 Oct 2018 00:35:17 -0400 Received: by mail-wm1-f67.google.com with SMTP id r63-v6so9431639wma.4 for ; Mon, 08 Oct 2018 14:21:33 -0700 (PDT) In-Reply-To: <20181008142009.7b32df14@xeon-e3> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 08.10.2018 23:20, Stephen Hemminger wrote: > On Mon, 8 Oct 2018 22:00:51 +0200 > Heiner Kallweit wrote: > >> * >> + * @uc_promisc: Counter that indicates promiscuous mode >> + * has been enabled due to the need to listen to >> + * additional unicast addresses in a device that >> + * does not implement ndo_set_rx_mode() >> + * > > I see you just moved the pre-existing comment, but it the comment > looks incorrect. uc_promisc is not a counter but a flag. A counter would > have more than two states normally. > Right. A v2 fixing the comment has been submitted already.