From owner-freebsd-net@FreeBSD.ORG Sat Oct 31 23:40:03 2009 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 E9F0F106566B for ; Sat, 31 Oct 2009 23:40:03 +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 DA2B68FC0A for ; Sat, 31 Oct 2009 23:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9VNe3rv022342 for ; Sat, 31 Oct 2009 23:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9VNe372022341; Sat, 31 Oct 2009 23:40:03 GMT (envelope-from gnats) Date: Sat, 31 Oct 2009 23:40:03 GMT Message-Id: <200910312340.n9VNe372022341@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Benjamin Kaduk Cc: Subject: Re: kern/140036: [iwn] [lor] lock order reversal with iwn0_com_lock and iwn0 softc lock X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Benjamin Kaduk List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 23:40:04 -0000 The following reply was made to PR kern/140036; it has been noted by GNATS. From: Benjamin Kaduk To: Bernhard Schmidt Cc: bug-followup@freebsd.org Subject: Re: kern/140036: [iwn] [lor] lock order reversal with iwn0_com_lock and iwn0 softc lock Date: Sat, 31 Oct 2009 19:24:59 -0400 (EDT) Indeed, I think I saw a lockup a couple days ago, possibly when my card had dissociated and was trying to reassociate. Thanks for looking into this, -Ben On Thu, 29 Oct 2009, Bernhard Schmidt wrote: > Hi, > > Removing the IWN_LOCK(sc) leads to races when calling iwn_cmd(). It's better > to drop the IEEE80211_LOCK(ic). I do have a patch in test which hopefully will > hit the tree soon. > > -- > Bernhard >