From owner-cvs-src-old@FreeBSD.ORG Thu Apr 29 11:53:49 2010 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 07F78106566C for ; Thu, 29 Apr 2010 11:53:49 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E64AD8FC08 for ; Thu, 29 Apr 2010 11:53:48 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o3TBrmSS094221 for ; Thu, 29 Apr 2010 11:53:48 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3TBrm6v094220 for cvs-src-old@freebsd.org; Thu, 29 Apr 2010 11:53:48 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <201004291153.o3TBrm6v094220@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Thu, 29 Apr 2010 11:52:42 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/contrib/ipfilter/netinet ip_auth.c src/sys/net if.c if_gif.c if_gif.h route.c src/sys/netinet icmp6.h if_ether.c in.c in_gif.c in_proto.c in_rmx.c ip_icmp.c ip_icmp.h ip_input.c ip_var.h tcp_hostcache.c tcp_input.c tcp_output.c tcp_reass.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: Thu, 29 Apr 2010 11:53:49 -0000 bz 2010-04-29 11:52:42 UTC FreeBSD src repository Modified files: sys/contrib/ipfilter/netinet ip_auth.c sys/net if.c if_gif.c if_gif.h route.c sys/netinet icmp6.h if_ether.c in.c in_gif.c in_proto.c in_rmx.c ip_icmp.c ip_icmp.h ip_input.c ip_var.h tcp_hostcache.c tcp_input.c tcp_output.c tcp_reass.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timewait.c tcp_var.h udp_usrreq.c udp_var.h sys/netinet6 frag6.c icmp6.c in6_gif.c in6_ifattach.c in6_proto.c in6_rmx.c in6_src.c in6_var.h ip6_input.c ip6_mroute.c ip6_var.h nd6.c nd6.h nd6_nbr.c nd6_rtr.c raw_ip6.c scope6.c sys/netipsec ah_var.h esp_var.h ipcomp_var.h ipip_var.h ipsec.c ipsec.h ipsec6.h key.c xform_esp.c Log: SVN rev 207369 on 2010-04-29 11:52:42Z by bz MFP4: @176978-176982, 176984, 176990-176994, 177441 "Whitspace" churn after the VIMAGE/VNET whirls. Remove the need for some "init" functions within the network stack, like pim6_init(), icmp_init() or significantly shorten others like ip6_init() and nd6_init(), using static initialization again where possible and formerly missed. Move (most) variables back to the place they used to be before the container structs and VIMAGE_GLOABLS (before r185088) and try to reduce the diff to stable/7 and earlier as good as possible, to help out-of-tree consumers to update from 6.x or 7.x to 8 or 9. This also removes some header file pollution for putatively static global variables. Revert VIMAGE specific changes in ipfilter::ip_auth.c, that are no longer needed. Reviewed by: jhb Discussed with: rwatson Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH MFC after: 6 days Revision Changes Path 1.49 +0 -5 src/sys/contrib/ipfilter/netinet/ip_auth.c 1.382 +3 -3 src/sys/net/if.c 1.90 +0 -20 src/sys/net/if_gif.c 1.30 +0 -4 src/sys/net/if_gif.h 1.174 +7 -5 src/sys/net/route.c 1.28 +0 -1 src/sys/netinet/icmp6.h 1.219 +4 -6 src/sys/netinet/if_ether.c 1.160 +5 -6 src/sys/netinet/in.c 1.51 +2 -0 src/sys/netinet/in_gif.c 1.102 +0 -1 src/sys/netinet/in_proto.c 1.80 +8 -13 src/sys/netinet/in_rmx.c 1.140 +20 -39 src/sys/netinet/ip_icmp.c 1.29 +0 -1 src/sys/netinet/ip_icmp.h 1.384 +33 -39 src/sys/netinet/ip_input.c 1.119 +6 -7 src/sys/netinet/ip_var.h 1.37 +2 -2 src/sys/netinet/tcp_hostcache.c 1.416 +24 -15 src/sys/netinet/tcp_input.c 1.167 +12 -9 src/sys/netinet/tcp_output.c 1.366 +7 -14 src/sys/netinet/tcp_reass.c 1.54 +8 -9 src/sys/netinet/tcp_sack.c 1.357 +23 -67 src/sys/netinet/tcp_subr.c 1.178 +7 -12 src/sys/netinet/tcp_syncache.c 1.310 +4 -4 src/sys/netinet/tcp_timewait.c 1.186 +6 -50 src/sys/netinet/tcp_var.h 1.267 +2 -5 src/sys/netinet/udp_usrreq.c 1.43 +4 -6 src/sys/netinet/udp_var.h 1.51 +3 -2 src/sys/netinet6/frag6.c 1.122 +6 -15 src/sys/netinet6/icmp6.c 1.42 +9 -0 src/sys/netinet6/in6_gif.c 1.79 +8 -3 src/sys/netinet6/in6_ifattach.c 1.70 +53 -31 src/sys/netinet6/in6_proto.c 1.47 +9 -14 src/sys/netinet6/in6_rmx.c 1.78 +2 -5 src/sys/netinet6/in6_src.c 1.46 +4 -5 src/sys/netinet6/in6_var.h 1.137 +12 -95 src/sys/netinet6/ip6_input.c 1.64 +2 -17 src/sys/netinet6/ip6_mroute.c 1.57 +24 -29 src/sys/netinet6/ip6_var.h 1.134 +22 -55 src/sys/netinet6/nd6.c 1.33 +4 -5 src/sys/netinet6/nd6.h 1.71 +3 -5 src/sys/netinet6/nd6_nbr.c 1.77 +7 -5 src/sys/netinet6/nd6_rtr.c 1.115 +2 -2 src/sys/netinet6/raw_ip6.c 1.30 +5 -7 src/sys/netinet6/scope6.c 1.5 +3 -2 src/sys/netipsec/ah_var.h 1.5 +2 -1 src/sys/netipsec/esp_var.h 1.6 +2 -1 src/sys/netipsec/ipcomp_var.h 1.6 +2 -1 src/sys/netipsec/ipip_var.h 1.58 +1 -0 src/sys/netipsec/ipsec.c 1.28 +22 -22 src/sys/netipsec/ipsec.h 1.11 +6 -5 src/sys/netipsec/ipsec6.h 1.70 +11 -10 src/sys/netipsec/key.c 1.31 +1 -2 src/sys/netipsec/xform_esp.c