From owner-cvs-src-old@FreeBSD.ORG Sun Mar 15 10:04:58 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25A811065673 for ; Sun, 15 Mar 2009 10:04:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1003A8FC22 for ; Sun, 15 Mar 2009 10:04:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2FA4vwj085383 for ; Sun, 15 Mar 2009 10:04:57 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2FA4vVh085382 for cvs-src-old@freebsd.org; Sun, 15 Mar 2009 10:04:57 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200903151004.n2FA4vVh085382@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sun, 15 Mar 2009 09:58:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 10:04:58 -0000 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