svn commit: r289350 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Thu Oct 15 01:44:33 UTC 2015


Author: bz
Date: Thu Oct 15 01:44:32 2015
New Revision: 289350
URL: https://svnweb.freebsd.org/changeset/base/289350

Log:
  Hopefully also unbreak VIMAGE kernels replacing the &V_... with
  &VNET_NAME(...).
  Everything else is just a whitespace wrapping change.

Modified:
  head/sys/netinet/tcp_pcap.c

Modified: head/sys/netinet/tcp_pcap.c
==============================================================================
--- head/sys/netinet/tcp_pcap.c	Thu Oct 15 01:09:14 2015	(r289349)
+++ head/sys/netinet/tcp_pcap.c	Thu Oct 15 01:44:32 2015	(r289350)
@@ -70,9 +70,9 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_
 
 VNET_DEFINE(int, tcp_pcap_packets) = 0;
 #define V_tcp_pcap_packets	VNET(tcp_pcap_packets)
-SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets, CTLFLAG_RW,
-	&V_tcp_pcap_packets, 0, "Default number of packets saved per direction "
-	"per TCPCB");
+SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets,
+	CTLFLAG_RW, &VNET_NAME(tcp_pcap_packets), 0,
+	"Default number of packets saved per direction per TCPCB");
 
 /* Initialize the values. */
 static void


More information about the svn-src-all mailing list