On Fri, 03 Nov 2006 11:48:22 +0800, Hong Liu wrote:
> It seems we don't have any protection when accessing the key.
> The RX/TX path may acquire a key which can be freed by the
> ioctl cmd.
> 
> I put a key_lock spinlock to protect all the accesses to the key
> (whether the sta_info->key or ieee80211_sub_if_data->keys[]). 
> Don't find a good way to handle it :(

NAK, this is too expensive.

I'm aware of the problem and figured how to fix it correctly while
working on fixing of sta_list locking. Will send a patch later this
week, stay tuned :-)

Thanks,

 Jiri

-- 
Jiri Benc
SUSE Labs
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to