Re: [PATCH]bluetooth: rfcomm_init bug fix

David Miller
2009-08-03T20:29:24Z

From: Dave Young <hidave.darkstar@gmail.com>
Date: Mon, 3 Aug 2009 22:26:16 +0800

> rfcomm tty may be used before rfcomm_tty_driver initilized,
> The problem is that now socket layer init before tty layer, if userspace
> program do socket callback right here then oops will happen.
>
> reporting in:
> http://marc.info/?l=linux-bluetooth&m=124404919324542&w=2
...
> Reported-by: Oliver Hartkopp <oliver@hartkopp.net>
> Tested-by: Oliver Hartkopp <oliver@hartkopp.net>
> Signed-off-by: Dave Young <hidave.darkstar@gmail.com>

Applied, thanks.