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. _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"