From owner-svn-src-head@FreeBSD.ORG Thu May 29 03:44:46 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E1FDF32; Thu, 29 May 2014 03:44:46 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BC1E224F1; Thu, 29 May 2014 03:44:44 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.8/8.14.8) with ESMTP id s4T3igbb087555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 29 May 2014 07:44:42 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.8/8.14.8/Submit) id s4T3iguL087554; Thu, 29 May 2014 07:44:42 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 29 May 2014 07:44:42 +0400 From: Gleb Smirnoff To: "Bjoern A. Zeeb" Subject: Re: svn commit: r266822 - head/sys/netipsec Message-ID: <20140529034442.GS50679@FreeBSD.org> References: <201405282301.s4SN1Kcv020803@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201405282301.s4SN1Kcv020803@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 03:44:46 -0000 On Wed, May 28, 2014 at 11:01:20PM +0000, Bjoern A. Zeeb wrote: B> Author: bz B> Date: Wed May 28 23:01:20 2014 B> New Revision: 266822 B> URL: http://svnweb.freebsd.org/changeset/base/266822 B> B> Log: B> Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6 B> version. This also unbreaks the NOINET6 builds after r266800. B> B> Modified: B> head/sys/netipsec/ipsec_output.c B> B> Modified: head/sys/netipsec/ipsec_output.c B> ============================================================================== B> --- head/sys/netipsec/ipsec_output.c Wed May 28 19:59:27 2014 (r266821) B> +++ head/sys/netipsec/ipsec_output.c Wed May 28 23:01:20 2014 (r266822) B> @@ -576,7 +576,7 @@ ipsec4_process_packet( B> DPRINTF(("%s: unsupported protocol family %u\n", B> __func__, dst->sa.sa_family)); B> error = EPFNOSUPPORT; B> - IPSEC6STAT_INC(ips_out_inval); B> + IPSECSTAT_INC(ips_out_inval); B> goto bad; B> } B> error = (*sav->tdb_xform->xf_output)(m, isr, NULL, i, off); B> @@ -739,4 +739,4 @@ bad: B> m_freem(m); B> return error; B> } B> -#endif /*INET6*/ B> \ No newline at end of file B> +#endif /*INET6*/ Is there any reason to keep the line '\ No newline at end of file' when it is no longer at the end of the file? -- Totus tuus, Glebius.