From owner-freebsd-net@FreeBSD.ORG Thu Jul 17 16:50:05 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 601A51065679 for ; Thu, 17 Jul 2008 16:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5681E8FC0A for ; Thu, 17 Jul 2008 16:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6HGo41i018240 for ; Thu, 17 Jul 2008 16:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6HGo4aK018239; Thu, 17 Jul 2008 16:50:04 GMT (envelope-from gnats) Date: Thu, 17 Jul 2008 16:50:04 GMT Message-Id: <200807171650.m6HGo4aK018239@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Andrew Thompson Cc: Subject: Re: kern/125181: [ndis] [patch] with wep enters kdb.enter.unknown, panics X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Thompson List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 16:50:05 -0000 The following reply was made to PR kern/125181; it has been noted by GNATS. From: Andrew Thompson To: Coleman Kane Cc: bug-followup@FreeBSD.org, onemda@gmail.com Subject: Re: kern/125181: [ndis] [patch] with wep enters kdb.enter.unknown, panics Date: Thu, 17 Jul 2008 09:43:42 -0700 On Thu, Jul 17, 2008 at 12:09:52PM -0400, Coleman Kane wrote: > Andrew, > > I got directed to this PR by onemda@gmail.com (Paul D. Mahol), who's > been helping me track down some edge cases in the if_ndis locking > rewrite. I am not 100% familiar with the locking semantics in play here > (IEEE80211 and VAPs), so I wanted to run it by you before I determine > that it seems to be working well for me. I dont think ndis should be reaching into the net80211 lock. Now that ndis uses a regular mutex its a good chance to add mtx_asserts in the right places and get the locking up to speed. I will try to post a patch soon unless someone beats be to it. Andrew