From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 06:00:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0BDA16A4CE for ; Mon, 12 Jul 2004 06:00:20 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C05E343D53 for ; Mon, 12 Jul 2004 06:00:15 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id F31C11FFDD9; Mon, 12 Jul 2004 08:00:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id D4CA71FFDD8; Mon, 12 Jul 2004 08:00:06 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id ECCC315389; Mon, 12 Jul 2004 05:53:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id D4FFE15329; Mon, 12 Jul 2004 05:53:43 +0000 (UTC) Date: Mon, 12 Jul 2004 05:53:43 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Doug White In-Reply-To: <20040711152739.W76940@carver.gumbysoft.com> Message-ID: References: <20040711152739.W76940@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: FreeBSD current mailing list Subject: Re: is_sk locking in sk_attach X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 06:00:21 -0000 On Sun, 11 Jul 2004, Doug White wrote: > On Sat, 10 Jul 2004, Bjoern A. Zeeb wrote: > > > there had been some discussion lately about if_sk and attach locking. > > compiled if_sk as module on amd64 and kldloading started a race with > > follwoing output: > > If you have unpatched sk sources, the locking is entirely wrong. You > _will_ get witness warnings. I have a basic patch that gets rid of most with my attach patch not yet, but I had seen those with my old kernel including a LOR. > of them, and I think bms is working on a more complete lockdown. I posted > my patch to -current, but I can't guarantee its entirely correct :) I had thought it got comitted already. Will import it into my local tree then. Thanks. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT