PERFORCE change 153522 for review

Marko Zec zec at FreeBSD.org
Tue Nov 25 05:00:32 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=153522

Change 153522 by zec at zec_tpx32 on 2008/11/25 12:59:55

	Reduce whitespace / NOP churn.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/netinet/tcp_subr.c#29 edit
.. //depot/projects/vimage-commit2/src/sys/netinet/vinet.h#12 edit
.. //depot/projects/vimage-commit2/src/sys/netinet6/nd6_nbr.c#16 edit
.. //depot/projects/vimage-commit2/src/sys/netinet6/vinet6.h#12 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/netinet/tcp_subr.c#29 (text+ko) ====

@@ -344,7 +344,6 @@
 	V_tcp_sack_globalmaxholes = 65536;
 	V_tcp_sack_globalholes = 0;
 
-	hashsize = TCBHASHSIZE;
 	tcp_delacktime = TCPTV_DELACK;
 	tcp_keepinit = TCPTV_KEEP_INIT;
 	tcp_keepidle = TCPTV_KEEP_IDLE;
@@ -361,6 +360,7 @@
 	INP_INFO_LOCK_INIT(&V_tcbinfo, "tcp");
 	LIST_INIT(&V_tcb);
 	V_tcbinfo.ipi_listhead = &V_tcb;
+	hashsize = TCBHASHSIZE;
 	TUNABLE_INT_FETCH("net.inet.tcp.tcbhashsize", &hashsize);
 	if (!powerof2(hashsize)) {
 		printf("WARNING: TCB hash size not a power of 2\n");

==== //depot/projects/vimage-commit2/src/sys/netinet/vinet.h#12 (text+ko) ====

@@ -78,10 +78,7 @@
 	int	_ip_checkinterface;
 	u_short	_ip_id;
 
-#if 0 /* NOTYET */
 	uma_zone_t _ipq_zone;
-#endif
-
 	int	_nipq;			/* Total # of reass queues */
 	int	_maxnipq;		/* Admin. limit on # reass queues. */
 	int	_maxfragsperpacket;

==== //depot/projects/vimage-commit2/src/sys/netinet6/nd6_nbr.c#16 (text+ko) ====

@@ -78,7 +78,6 @@
 #define SDL(s) ((struct sockaddr_dl *)s)
 
 struct dadq;
-
 static struct dadq *nd6_dad_find(struct ifaddr *);
 static void nd6_dad_starttimer(struct dadq *, int);
 static void nd6_dad_stoptimer(struct dadq *);

==== //depot/projects/vimage-commit2/src/sys/netinet6/vinet6.h#12 (text+ko) ====

@@ -106,8 +106,8 @@
 	int				_ip6_mcast_pmtu;
 	int				_ip6_v6only;
 	int				_ip6_keepfaith;
+	int				_ip6stealth;
 	time_t				_ip6_log_time;
-	int				_ip6stealth;
 	int				_nd6_onlink_ns_rfc4861;
 
 	int				_pmtu_expire;


More information about the p4-projects mailing list