]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Bluetooth: fix shutdown on SCO sockets"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 May 2011 01:58:16 +0000 (18:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 May 2011 01:58:16 +0000 (18:58 -0700)
commit80a0e38a8bbe1d513838ea6bd4dd73e50026684c
treeace48f2f6d25733c11863b458e8f8e489534bf12
parentb0fc1bad8b2728a26f5f34ea4d5ff08833ada108
Revert "Bluetooth: fix shutdown on SCO sockets"

This reverts commit 5e3a563822e1a97203e38a6799f3192bcc97f082.

Quoth Gustavo F. Padovan:
  "Commit 5e3a563822e1a97203e38a6799f3192bcc97f082 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