From owner-svn-src-all@freebsd.org Fri Oct 16 12:31:50 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB19DA16AE5; Fri, 16 Oct 2015 12:31:50 +0000 (UTC) (envelope-from glebius@FreeBSD.org) 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 72B53CBC; Fri, 16 Oct 2015 12:31:49 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.15.2/8.15.2) with ESMTPS id t9GCVeRW049457 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 16 Oct 2015 15:31:40 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.15.2/8.15.2/Submit) id t9GCVeGk049456; Fri, 16 Oct 2015 15:31:40 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 16 Oct 2015 15:31:39 +0300 From: Gleb Smirnoff To: "Bjoern A. Zeeb" Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r289350 - head/sys/netinet Message-ID: <20151016123139.GX1023@FreeBSD.org> References: <201510150144.t9F1iWdo089946@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201510150144.t9F1iWdo089946@repo.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2015 12:31:51 -0000 On Thu, Oct 15, 2015 at 01:44:32AM +0000, Bjoern A. Zeeb wrote: B> Author: bz B> Date: Thu Oct 15 01:44:32 2015 B> New Revision: 289350 B> URL: https://svnweb.freebsd.org/changeset/base/289350 B> B> Log: B> Hopefully also unbreak VIMAGE kernels replacing the &V_... with B> &VNET_NAME(...). B> Everything else is just a whitespace wrapping change. B> B> Modified: B> head/sys/netinet/tcp_pcap.c B> B> Modified: head/sys/netinet/tcp_pcap.c B> ============================================================================== B> --- head/sys/netinet/tcp_pcap.c Thu Oct 15 01:09:14 2015 (r289349) B> +++ head/sys/netinet/tcp_pcap.c Thu Oct 15 01:44:32 2015 (r289350) B> @@ -70,9 +70,9 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_ B> B> VNET_DEFINE(int, tcp_pcap_packets) = 0; B> #define V_tcp_pcap_packets VNET(tcp_pcap_packets) B> -SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets, CTLFLAG_RW, B> - &V_tcp_pcap_packets, 0, "Default number of packets saved per direction " B> - "per TCPCB"); B> +SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets, B> + CTLFLAG_RW, &VNET_NAME(tcp_pcap_packets), 0, B> + "Default number of packets saved per direction per TCPCB"); It also lacks CTLFLAG_VNET flag. Will panic on write now. -- Totus tuus, Glebius.