* Revert "Bluetooth: fix shutdown on SCO sockets"
@ 2011-05-11 20:05 Gustavo F. Padovan
0 siblings, 0 replies; only message in thread
From: Gustavo F. Padovan @ 2011-05-11 20:05 UTC (permalink / raw)
To: torvalds; +Cc: linux-bluetooth, linux-kernel, davem, linville
Hi Linus,
Commit f21ca5fff6e548833fa5ee8867239a8378623150 can cause a NULL dereference
if we call shutdown in a bluetooth SCO socket and doesn't wait the shutdown
completion to call close(). Please revert it. I may have a fix for it soon,
but we don't have time anymore, so revert is the way to go. ;)
Regards,
commit f21ca5fff6e548833fa5ee8867239a8378623150
Author: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Date: Fri Apr 8 17:10:41 2011 +0300
Bluetooth: fix shutdown on SCO sockets
shutdown should wait for SCO link to be properly disconnected before
detroying the socket, otherwise an application using the socket may
assume link is properly disconnected before it really happens which
can be a problem when e.g synchronizing profile switch.
Signed-off-by: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
--
Gustavo F. Padovan
http://profusion.mobi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-11 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11 20:05 Revert "Bluetooth: fix shutdown on SCO sockets" Gustavo F. Padovan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).