Received: by mail.netbsd.org (Postfix, from userid 605) id BB33E84DD3; Sat, 25 Aug 2018 14:35:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B019C84DD0 for ; Sat, 25 Aug 2018 14:35:22 +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 GPNCv9rrMlTO for ; Sat, 25 Aug 2018 14:35:22 +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 3150E84DAB for ; Sat, 25 Aug 2018 14:35:22 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2A0ECFBEC; Sat, 25 Aug 2018 14:35:22 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 25 Aug 2018 14:35:22 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-8] src/sys/netipsec To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180825143522.2A0ECFBEC@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: Sat Aug 25 14:35:22 UTC 2018 Modified Files: src/sys/netipsec [netbsd-8]: key.c Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #986): sys/netipsec/key.c: revision 1.257 Don't call key_ismyaddr, which may sleep, in a pserialize read section Use mutex here instead of pserialize because using mutex is simpler than using psz+ref, which is another solution, and key_checkspidup isn't called in any performance-sensitive paths. To generate a diff of this commit: cvs rdiff -u -r1.163.2.9 -r1.163.2.10 src/sys/netipsec/key.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.