Received: by mail.netbsd.org (Postfix, from userid 605) id 75D4C84D7A; Fri, 6 Apr 2018 10:38:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 740E984D78 for ; Fri, 6 Apr 2018 10:38:54 +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 VCrZEVfqGaSj for ; Fri, 6 Apr 2018 10:38:54 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id EDD8384D76 for ; Fri, 6 Apr 2018 10:38:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D85B2FBEC; Fri, 6 Apr 2018 10:38:53 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 6 Apr 2018 10:38:53 +0000 From: "Kengo NAKAHARA" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180406103853.D85B2FBEC@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: "Kengo NAKAHARA" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: knakahara Date: Fri Apr 6 10:38:53 UTC 2018 Modified Files: src/sys/net: if_ipsec.c src/sys/netipsec: ipsecif.c ipsecif.h Log Message: Fix unexpected failure when ipsecif(4) over IPv6 is changed port number only. Here is an example of the operation which causes this problem. # ifconfig ipsec0 create link0 # ifconfig ipsec0 tunnel fc00:1001::2,4500 fc00:1001::1,4501 # ifconfig ipsec0 tunnel fc00:1001::2,4500 fc00:1001::1,4502 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/net/if_ipsec.c cvs rdiff -u -r1.6 -r1.7 src/sys/netipsec/ipsecif.c cvs rdiff -u -r1.1 -r1.2 src/sys/netipsec/ipsecif.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.