Received: by mail.netbsd.org (Postfix, from userid 605) id 32FC684E68; Mon, 22 Aug 2022 17:07:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 66FB984E55 for ; Mon, 22 Aug 2022 17:07:41 +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 P7es0QKsdCOr for ; Mon, 22 Aug 2022 17:07:41 +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 E9A6484D39 for ; Mon, 22 Aug 2022 17:07:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E296EFB1A; Mon, 22 Aug 2022 17:07:40 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 22 Aug 2022 17:07:40 +0000 From: "Jason R Thorpe" Subject: CVS commit: src/sys/dev/pci To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220822170740.E296EFB1A@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jason R Thorpe" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: thorpej Date: Mon Aug 22 17:07:40 UTC 2022 Modified Files: src/sys/dev/pci: if_ipw.c if_iwi.c Log Message: We come into our if_start routine via ether_output(), therefore there is no need to check-and-pullup to sizeof(struct ether_header). Instead, we can simply assert it. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/if_ipw.c cvs rdiff -u -r1.118 -r1.119 src/sys/dev/pci/if_iwi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.