Received: by mail.netbsd.org (Postfix, from userid 605) id 9258B19CEA6; Thu, 10 Feb 2011 20:42:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A5F2619CE9C for ; Thu, 10 Feb 2011 20:42:31 +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 88RYhGq9zjG8 for ; Thu, 10 Feb 2011 20:42:31 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 0F63319CE8C for ; Thu, 10 Feb 2011 20:42:30 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id D04AD175DD; Thu, 10 Feb 2011 20:42:30 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 10 Feb 2011 20:42:30 +0000 From: "Matthias Drochner" Subject: CVS commit: src/sys/netipsec To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110210204230.D04AD175DD@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: "Matthias Drochner" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: drochner Date: Thu Feb 10 20:42:30 UTC 2011 Modified Files: src/sys/netipsec: ipsec_output.c Log Message: in rev.1.192 of ip_output.c the semantics of ip_output() was changed: Before, setting the IP_RAWOUTPUT flag did imply that the ip_id (the fragmentation thing) was used as-is. Now, a new ID is diced unless the new IP_NOIPNEWID flag is set. The ip_id is part of the data which are used to calculate the hash for AH, so set the IP_NOIPNEWID flag to make sure the IP header is not modified behind AH's back. Otherwise, the recipient will detect a checksum mismatch and discard the packet. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/netipsec/ipsec_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.