svn commit: r185813 - head/sys/netinet

Robert Watson rwatson at FreeBSD.org
Tue Dec 9 15:57:09 PST 2008


Author: rwatson
Date: Tue Dec  9 23:57:09 2008
New Revision: 185813
URL: http://svn.freebsd.org/changeset/base/185813

Log:
  Update comment on INP_TIMEWAIT to say what it's about, as we caution
  regarding the misplacement of flags in inp_vflag in an earlier comment.
  
  MFC after:	pretty soon

Modified:
  head/sys/netinet/in_pcb.h

Modified: head/sys/netinet/in_pcb.h
==============================================================================
--- head/sys/netinet/in_pcb.h	Tue Dec  9 21:34:22 2008	(r185812)
+++ head/sys/netinet/in_pcb.h	Tue Dec  9 23:57:09 2008	(r185813)
@@ -385,7 +385,7 @@ void 	inp_4tuple_get(struct inpcb *inp, 
 #define	INP_IPV4	0x1
 #define	INP_IPV6	0x2
 #define	INP_IPV6PROTO	0x4		/* opened under IPv6 protocol */
-#define	INP_TIMEWAIT	0x8		/* .. probably doesn't go here */
+#define	INP_TIMEWAIT	0x8		/* inpcb in TIMEWAIT, ppcb is tcptw */
 #define	INP_ONESBCAST	0x10		/* send all-ones broadcast */
 #define	INP_DROPPED	0x20		/* protocol drop flag */
 #define	INP_SOCKREF	0x40		/* strong socket reference */


More information about the svn-src-all mailing list