Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id C18C41A923A for ; Thu, 27 Aug 2020 02:54:32 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 5B38784DB0; Thu, 27 Aug 2020 02:54:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D0AE384DAF for ; Thu, 27 Aug 2020 02:54:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id OmPxmSVxMwfL for ; Thu, 27 Aug 2020 02:54:31 +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 6B16F84DAC for ; Thu, 27 Aug 2020 02:54:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 68675FB26; Thu, 27 Aug 2020 02:54:31 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 27 Aug 2020 02:54:31 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/net To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200827025431.68675FB26@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org 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 Aug 27 02:54:31 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: wg: KASSERT m_len before mtod. XXX We should really make mtod do this automagically, and use something else for mtod(m, void *). To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/net/if_wg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.