svn commit: r191185 - projects/tcp_cc_8.x/sys/netinet

Lawrence Stewart lstewart at FreeBSD.org
Thu Apr 16 19:46:32 PDT 2009


Author: lstewart
Date: Fri Apr 17 02:46:31 2009
New Revision: 191185
URL: http://svn.freebsd.org/changeset/base/191185

Log:
  Catch up with r190457 by checking inp_flags instead of inp_vflag for
  pcbs in TIMEWAIT.

Modified:
  projects/tcp_cc_8.x/sys/netinet/cc.c

Modified: projects/tcp_cc_8.x/sys/netinet/cc.c
==============================================================================
--- projects/tcp_cc_8.x/sys/netinet/cc.c	Fri Apr 17 01:07:37 2009	(r191184)
+++ projects/tcp_cc_8.x/sys/netinet/cc.c	Fri Apr 17 02:46:31 2009	(r191185)
@@ -187,7 +187,7 @@ cc_deregister_algorithm(struct cc_algo *
 		INP_INFO_RLOCK(&V_tcbinfo);
 		LIST_FOREACH(inp, &V_tcb, inp_list) {
 			/* skip tcptw structs */
-			if (inp->inp_vflag & INP_TIMEWAIT)
+			if (inp->inp_flags & INP_TIMEWAIT)
 				continue;
 			INP_WLOCK(inp);
 			if ((tp = intotcpcb(inp)) != NULL) {


More information about the svn-src-projects mailing list