From owner-freebsd-net@FreeBSD.ORG Sat Jul 23 00:39:40 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EBFF16A41F; Sat, 23 Jul 2005 00:39:40 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06F6043D48; Sat, 23 Jul 2005 00:39:40 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id 996C546B4F; Fri, 22 Jul 2005 20:39:39 -0400 (EDT) Date: Sat, 23 Jul 2005 01:40:20 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Ed Maste In-Reply-To: <20050723012046.K40216@fledge.watson.org> Message-ID: <20050723013902.L40216@fledge.watson.org> References: <42CEF0EB.4000107@borderware.com> <42D006DB.8080108@errno.com> <20050712150224.GA38249@sandvine.com> <20050712162332.Q79478@fledge.watson.org> <20050712220452.GB38249@sandvine.com> <20050723012046.K40216@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org, gnn@FreeBSD.org Subject: Re: what to replace splnet in FreeBSD 5.x? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 00:39:40 -0000 On Sat, 23 Jul 2005, Robert Watson wrote: > The attached patch introduces locking around the link layer and IPv4 > multicast address lists, as well as updates drivers to use the locking. > It's a fairly large diff, but other than the changes to if.c, in.c, and > igmp.c, is fairly mechanical. It may well correct the problem you've > been seeing. If possible, and given sufficient review, I'd like to get > this change into 6.0, especially given that it affects the layout of > struct ifnet which is part of the ABI for network interface device > drivers. Updated version of the patch at: http://www.watson.org/~robert/freebsd/netperf/20050523-multicast.diff Spl-related cleanups (no longer useful documentation of old synchronization in many places), lock order hard-coded into WITNESS order rather than dynamically detected. Robert N M Watson