Date: Sun, 15 Mar 2009 09:58:31 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_subr.c tcp_timer.c tcp_timewait.c tcp_usrreq.c src/sys/netinet6 in6_pcb.c src/usr.bin/netstat inet.c src/usr.bin/systat netstat.c Message-ID: <200903151004.n2FA4vVh085382@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2009-03-15 09:58:31 UTC
FreeBSD src repository
Modified files:
sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_subr.c
tcp_timer.c tcp_timewait.c tcp_usrreq.c
sys/netinet6 in6_pcb.c
usr.bin/netstat inet.c
usr.bin/systat netstat.c
Log:
SVN rev 189848 on 2009-03-15 09:58:31Z by rwatson
Correct a number of evolved problems with inp_vflag and inp_flags:
certain flags that should have been in inp_flags ended up in inp_vflag,
meaning that they were inconsistently locked, and in one case,
interpreted. Move the following flags from inp_vflag to gaps in the
inp_flags space (and clean up the inp_flags constants to make gaps
more obvious to future takers):
INP_TIMEWAIT
INP_SOCKREF
INP_ONESBCAST
INP_DROPPED
Some aspects of this change have no effect on kernel ABI at all, as these
are UDP/TCP/IP-internal uses; however, netstat and sockstat detect
INP_TIMEWAIT when listing TCP sockets, so any MFC will need to take this
into account.
MFC after: 1 week (or after dependencies are MFC'd)
Reviewed by: bz
Revision Changes Path
1.244 +19 -19 src/sys/netinet/in_pcb.c
1.129 +27 -29 src/sys/netinet/in_pcb.h
1.398 +1 -1 src/sys/netinet/tcp_input.c
1.335 +15 -15 src/sys/netinet/tcp_subr.c
1.107 +5 -5 src/sys/netinet/tcp_timer.c
1.298 +6 -6 src/sys/netinet/tcp_timewait.c
1.183 +29 -29 src/sys/netinet/tcp_usrreq.c
1.110 +4 -4 src/sys/netinet6/in6_pcb.c
1.90 +1 -1 src/usr.bin/netstat/inet.c
1.30 +1 -1 src/usr.bin/systat/netstat.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903151004.n2FA4vVh085382>
