From owner-cvs-src@FreeBSD.ORG Sun May 14 14:22:57 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9141416A46D; Sun, 14 May 2006 14:22:57 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F79A43D6B; Sun, 14 May 2006 14:22:57 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4EEMnuw056705; Sun, 14 May 2006 14:22:49 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4EEMnmC056704; Sun, 14 May 2006 14:22:49 GMT (envelope-from bms) Message-Id: <200605141422.k4EEMnmC056704@repoman.freebsd.org> From: Bruce M Simpson Date: Sun, 14 May 2006 14:22:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet in.h ip_output.c ip_var.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 14:22:57 -0000 bms 2006-05-14 14:22:49 UTC FreeBSD src repository Modified files: sys/netinet in.h ip_output.c ip_var.h Log: Fix a long-standing limitation in IPv4 multicast group membership. By making the imo_membership array a dynamically allocated vector, this minimizes disruption to existing IPv4 multicast code. This change breaks the ABI for the kernel module ip_mroute.ko, and may cause a small amount of churn for folks working on the IGMPv3 merge. Previously, sockets were subject to a compile-time limitation on the number of IPv4 group memberships, which was hard-coded to 20. The imo_membership relationship, however, is 1:1 with regards to a tuple of multicast group address and interface address. Users who ran routing protocols such as OSPF ran into this limitation on machines with a large system interface tree. Revision Changes Path 1.96 +8 -1 src/sys/netinet/in.h 1.256 +29 -1 src/sys/netinet/ip_output.c 1.98 +3 -2 src/sys/netinet/ip_var.h