On Sat, 2009-01-17 at 18:22 +0300, Andrey Borzenkov wrote: > Subject: [PATCH] [2.6.29-rc2] orinoco: use GFP_ATOMIC in kmalloc in > orinoco_ioctl_set_genie > From: Andrey Borzenkov <arvidjaar@xxxxxxx> > > kmalloc is called with interrupt disabled and may not sleep. This > fixes this BUG: Please move kmalloc before the lock. I don't see any reason to allocate memory with irqs disabled. The contention happens later, when priv->wpa_ie is freed and assigned a new value. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html