Re: [panic] Race in IEEE802.11 layer towards device drivers

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Mon, 12 Jul 2010 08:12:11 +0200
On Monday 12 July 2010 02:07:55 Andrew Thompson wrote:
> This turned out to be refcounting of the ieee80211_node struct which
> was causing this panic. vap->iv_bss can be freed at any time so all
> users of it need to bump the refcount to use it safely.
> 
> This patch should fix the panic in the rum driver.
> http://people.freebsd.org/~thompsa/rum_node_refcnt.diff
> 
> There are other places where it is still an issue such as the
> ieee80211_tx_mgt_timeout callout which havnt been addressed yet, and
> of course all other ieee80211 drivers.
> 

I will give your patch a try later today.

--HPS
Received on Mon Jul 12 2010 - 04:15:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC