Received: by mail.netbsd.org (Postfix, from userid 605) id 8E9DE84D65; Mon, 15 Jan 2018 07:59:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 13B9184D47 for ; Mon, 15 Jan 2018 07:59:49 +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 CJAJznaiLnQE for ; Mon, 15 Jan 2018 07:59:48 +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 AE34284CEF for ; Mon, 15 Jan 2018 07:59:48 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A092FFBDE; Mon, 15 Jan 2018 07:59:48 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 15 Jan 2018 07:59:48 +0000 From: "Maxime Villard" Subject: CVS commit: src/sys/net To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180115075948.A092FFBDE@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: "Maxime Villard" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: maxv Date: Mon Jan 15 07:59:48 UTC 2018 Modified Files: src/sys/net: if_ethersubr.c Log Message: Fix the net.ether.multicast sysctl. If there is no multicast address don't kmem_alloc(0) (which panics the kernel), and if the number of multicast addresses has decreased don't copyout uninitialized kernel data. To generate a diff of this commit: cvs rdiff -u -r1.250 -r1.251 src/sys/net/if_ethersubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.