Received: by mail.netbsd.org (Postfix, from userid 605) id 9BDD884F9C; Thu, 3 Mar 2022 05:53:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D1C0A84F97 for ; Thu, 3 Mar 2022 05:53:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id TaTEDRl31PJq for ; Thu, 3 Mar 2022 05:53:14 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6A9C384CEF for ; Thu, 3 Mar 2022 05:53:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 67C54FB24; Thu, 3 Mar 2022 05:53:14 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 3 Mar 2022 05:53:14 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220303055314.67C54FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Thu Mar 3 05:53:14 UTC 2022 Modified Files: src/sys/dev/usb: if_aue.c if_cue.c if_kue.c if_mue.c if_smsc.c if_udav.c Log Message: usbnet drivers: Stop abusing ifp->if_flags & IFF_ALLMULTI. This legacy flag is a figment of userland's imagination. The actual kernel state is ec->ec_flags & ETHER_F_ALLMULTI, protected by the ETHER_LOCK, so that multicast filter updates -- which run without IFNET_LOCK -- need not attempt to write racily to ifp->if_flags. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/usb/if_aue.c cvs rdiff -u -r1.99 -r1.100 src/sys/dev/usb/if_cue.c cvs rdiff -u -r1.112 -r1.113 src/sys/dev/usb/if_kue.c cvs rdiff -u -r1.72 -r1.73 src/sys/dev/usb/if_mue.c cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.86 -r1.87 src/sys/dev/usb/if_udav.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.