Received: by mail.netbsd.org (Postfix, from userid 605) id 6C4C884D93; Thu, 23 Apr 2020 13:31:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E3D4C84D8A for ; Thu, 23 Apr 2020 13:31:43 +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 xvwwbzT8xYBX for ; Thu, 23 Apr 2020 13:31:43 +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 7C1BE84D79 for ; Thu, 23 Apr 2020 13:31:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6A78DFB27; Thu, 23 Apr 2020 13:31:43 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 23 Apr 2020 13:31:43 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-9] src/sys/netinet6 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200423133143.6A78DFB27@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: "Martin Husemann" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: martin Date: Thu Apr 23 13:31:43 UTC 2020 Modified Files: src/sys/netinet6 [netbsd-9]: nd6_nbr.c Log Message: Pull up following revision(s) (requested by roy in ticket #845): sys/netinet6/nd6_nbr.c: revision 1.178 inet6: nd6_na_input() now considers ln_state <= ND6_LLINFO_INCOMPLETE Otherwise if ln_state != ND6_LLINFO_INCOMPLETE and the is no lladdr and this message was solicited then ln_state is set to ND6_LLINFO_REACHABLE which could then cause a panic in nd6_resolve(). If ln_state > ND6_LLINFO_INCOMPLETE then it's assumed we have a lladdr. Potentially this could have been triggered by the introduction of ND6_LLINFO_PURGE in nd6.c r1.143 but also by the re-introduction of ND6_LLINFO_INCOMPLETE in nd6.c r1.263. Depending on the timing, it's technically possible to receive such a message after the llentry is created with ND6_LLINFO_NOSTATE. To generate a diff of this commit: cvs rdiff -u -r1.166.2.4 -r1.166.2.5 src/sys/netinet6/nd6_nbr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.