Revert "Bluetooth: fix shutdown on SCO sockets"
commitce8453776d68982cfe93bcb28191af8ccad01f45
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 May 2011 01:58:16 +0000 (11 18:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 May 2011 01:58:16 +0000 (11 18:58 -0700)
treeace48f2f6d25733c11863b458e8f8e489534bf12
parent0e6f76c70e53e55492e6d6bc8cbc5e04dab01213
Revert "Bluetooth: fix shutdown on SCO sockets"

This reverts commit f21ca5fff6e548833fa5ee8867239a8378623150.

Quoth Gustavo F. Padovan:
  "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.  ;)"

Requested-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/bluetooth/sco.c