From owner-cvs-src-old@FreeBSD.ORG Wed Apr 29 19:26:07 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 33E63106564A for ; Wed, 29 Apr 2009 19:26:07 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2938FC18 for ; Wed, 29 Apr 2009 19:26:07 +0000 (UTC) (envelope-from bms@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 n3TJQ6P3037774 for ; Wed, 29 Apr 2009 19:26:06 GMT (envelope-from bms@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3TJQ6qE037773 for cvs-src-old@freebsd.org; Wed, 29 Apr 2009 19:26:06 GMT (envelope-from bms@repoman.freebsd.org) Message-Id: <200904291926.n3TJQ6qE037773@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bms@repoman.freebsd.org using -f From: Bruce M Simpson Date: Wed, 29 Apr 2009 19:19:13 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src UPDATING src/sys/conf files src/sys/kern subr_witness.c src/sys/netinet ip_carp.c src/sys/netinet6 icmp6.c in6.c in6_ifattach.c in6_mcast.c in6_pcb.c in6_proto.c in6_var.h ip6_input.c ip6_mroute.c ip6_output.c ip6_var.h mld6.c mld6_var.h ... 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: Wed, 29 Apr 2009 19:26:07 -0000 bms 2009-04-29 19:19:13 UTC FreeBSD src repository Modified files: . UPDATING sys/conf files sys/kern subr_witness.c sys/netinet ip_carp.c sys/netinet6 icmp6.c in6.c in6_ifattach.c in6_mcast.c in6_pcb.c in6_proto.c in6_var.h ip6_input.c ip6_mroute.c ip6_output.c ip6_var.h mld6.c mld6_var.h raw_ip6.c udp6_usrreq.c vinet6.h sys/sys param.h usr.sbin/ifmcstat ifmcstat.c Log: SVN rev 191672 on 2009-04-29 19:19:13Z by bms Bite the bullet, and make the IPv6 SSM and MLDv2 mega-commit: import from p4 bms_netdev. Summary of changes: * Connect netinet6/in6_mcast.c to build. The legacy KAME KPIs are mostly preserved. * Eliminate now dead code from ip6_output.c. Don't do mbuf bingo, we are not going to do RFC 2292 style CMSG tricks for multicast options as they are not required by any current IPv6 normative reference. * Refactor transports (UDP, raw_ip6) to do own mcast filtering. SCTP, TCP unaffected by this change. * Add ip6_msource, in6_msource structs to in6_var.h. * Hookup mld_ifinfo state to in6_ifextra, allocate from domifattach path. * Eliminate IN6_LOOKUP_MULTI(), it is no longer referenced. Kernel consumers which need this should use in6m_lookup(). * Refactor IPv6 socket group memberships to use a vector (like IPv4). * Update ifmcstat(8) for IPv6 SSM. * Add witness lock order for IN6_MULTI_LOCK. * Move IN6_MULTI_LOCK out of lower ip6_output()/ip6_input() paths. * Introduce IP6STAT_ADD/SUB/INC/DEC as per rwatson's IPv4 cleanup. * Update carp(4) for new IPv6 SSM KPIs. * Virtualize ip6_mrouter socket. Changes mostly localized to IPv6 MROUTING. * Don't do a local group lookup in MROUTING. * Kill unused KAME prototypes in6_purgemkludge(), in6_restoremkludge(). * Preserve KAME DAD timer jitter behaviour in MLDv1 compatibility mode. * Bump __FreeBSD_version to 800084. * Update UPDATING. NOTE WELL: * This code hasn't been tested against real MLDv2 queriers (yet), although the on-wire protocol has been verified in Wireshark. * There are a few unresolved issues in the socket layer APIs to do with scope ID propagation. * There is a LOR present in ip6_output()'s use of in6_setscope() which needs to be resolved. See comments in mld6.c. This is believed to be benign and can't be avoided for the moment without re-introducing an indirect netisr. This work was mostly derived from the IGMPv3 implementation, and has been sponsored by a third party. Revision Changes Path 1.597 +86 -0 src/UPDATING 1.1395 +1 -0 src/sys/conf/files 1.268 +11 -1 src/sys/kern/subr_witness.c 1.65 +37 -31 src/sys/netinet/ip_carp.c 1.107 +36 -28 src/sys/netinet6/icmp6.c 1.106 +9 -34 src/sys/netinet6/in6.c 1.61 +30 -5 src/sys/netinet6/in6_ifattach.c 1.2 +137 -28 src/sys/netinet6/in6_mcast.c 1.111 +15 -15 src/sys/netinet6/in6_pcb.c 1.59 +1 -0 src/sys/netinet6/in6_proto.c 1.39 +230 -77 src/sys/netinet6/in6_var.h 1.119 +8 -21 src/sys/netinet6/ip6_input.c 1.55 +18 -16 src/sys/netinet6/ip6_mroute.c 1.131 +19 -434 src/sys/netinet6/ip6_output.c 1.51 +18 -6 src/sys/netinet6/ip6_var.h 1.43 +3005 -458 src/sys/netinet6/mld6.c 1.9 +128 -19 src/sys/netinet6/mld6_var.h 1.103 +54 -7 src/sys/netinet6/raw_ip6.c 1.109 +34 -6 src/sys/netinet6/udp6_usrreq.c 1.11 +16 -0 src/sys/netinet6/vinet6.h 1.404 +1 -1 src/sys/sys/param.h 1.23 +180 -0 src/usr.sbin/ifmcstat/ifmcstat.c