From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Subject: Re: [PATCH]bluetooth: rfcomm_init bug fix Date: Mon, 03 Aug 2009 16:54:26 -0700 Message-ID: <1249343666.3094.12.camel@localhost.localdomain> References: <20090803142616.GA1973@darkstar> <20090803.132924.151782729.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: hidave.darkstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, oliver-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org, alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Miller Return-path: In-Reply-To: <20090803.132924.151782729.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> Sender: linux-bluetooth-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org Hi Dave, > > 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 > > Tested-by: Oliver Hartkopp > > Signed-off-by: Dave Young > > Applied, thanks. do you mind at least waiting for an ACK from my side. I haven't even looked at the final patch. Regards Marcel