Re: [PATCH 1/2] bluetooth: scheduling while atomic bug fix
From: David Miller
Date: Mon Oct 19 2009 - 22:37:15 EST
From: Dave Young <hidave.darkstar@xxxxxxxxx>
Date: Mon, 19 Oct 2009 14:24:41 +0800
> Due to driver core changes dev_set_drvdata will call kzalloc which should be
> in might_sleep context, but hci_conn_add will be called in atomic context
>
> Like dev_set_name move dev_set_drvdata to work queue function.
>
> oops as following:
...
> Signed-off-by: Dave Young <hidave.darkstar@xxxxxxxxx>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/