svn commit: r242141 - user/andre/tcp_workqueue/sys/netinet

Andre Oppermann andre at FreeBSD.org
Fri Oct 26 16:06:27 UTC 2012


Author: andre
Date: Fri Oct 26 16:06:26 2012
New Revision: 242141
URL: http://svn.freebsd.org/changeset/base/242141

Log:
  Revert r242003.  It is used by netstat -z to zero the counters.
  
  Discussed with:	maxim

Modified:
  user/andre/tcp_workqueue/sys/netinet/tcp_input.c

Modified: user/andre/tcp_workqueue/sys/netinet/tcp_input.c
==============================================================================
--- user/andre/tcp_workqueue/sys/netinet/tcp_input.c	Fri Oct 26 16:03:13 2012	(r242140)
+++ user/andre/tcp_workqueue/sys/netinet/tcp_input.c	Fri Oct 26 16:06:26 2012	(r242141)
@@ -121,7 +121,7 @@ __FBSDID("$FreeBSD$");
 const int tcprexmtthresh = 3;
 
 VNET_DEFINE(struct tcpstat, tcpstat);
-SYSCTL_VNET_STRUCT(_net_inet_tcp, TCPCTL_STATS, stats, CTLFLAG_RD,
+SYSCTL_VNET_STRUCT(_net_inet_tcp, TCPCTL_STATS, stats, CTLFLAG_RW,
     &VNET_NAME(tcpstat), tcpstat,
     "TCP statistics (struct tcpstat, netinet/tcp_var.h)");
 


More information about the svn-src-user mailing list