linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFCv1 0/3] Set of patches fixing kernel crash
@ 2011-03-24 15:16 Emeltchenko Andrei
  2011-03-24 15:16 ` [RFCv1 1/3] Bluetooth: check info_rsp ident and states Emeltchenko Andrei
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Emeltchenko Andrei @ 2011-03-24 15:16 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>

Kernel crash can happen in l2cap_conn_start as it was already
reported in:
http://www.spinics.net/lists/linux-bluetooth/msg11026.html
and:
http://www.spinics.net/lists/linux-bluetooth/msg10962.html

In my case crash happens when two devices connect to each other
at the same time and unbound L2CAP Information Requests mess up
req/rsp sequence. Patch makes sure that we do not process
out of the sequence packet. info_timer clean up hanging connections.

Andrei Emeltchenko (3):
  Bluetooth: check info_rsp ident and states
  Bluetooth: remove duplicated code
  Bluetooth: delete hanging L2CAP channel

 net/bluetooth/l2cap_core.c |   18 +++++++++++-------
 net/bluetooth/l2cap_sock.c |    5 +++--
 2 files changed, 14 insertions(+), 9 deletions(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-03-25 12:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 15:16 [RFCv1 0/3] Set of patches fixing kernel crash Emeltchenko Andrei
2011-03-24 15:16 ` [RFCv1 1/3] Bluetooth: check info_rsp ident and states Emeltchenko Andrei
2011-03-24 19:11   ` Gustavo F. Padovan
2011-03-24 15:16 ` [RFCv1 2/3] Bluetooth: remove duplicated code Emeltchenko Andrei
2011-03-24 18:57   ` Gustavo F. Padovan
2011-03-25  9:35     ` Andrei Emeltchenko
2011-03-24 15:16 ` [RFCv1 3/3] Bluetooth: delete hanging L2CAP channel Emeltchenko Andrei
2011-03-24 19:12   ` Gustavo F. Padovan
2011-03-25  8:57     ` Andrei Emeltchenko
2011-03-25 12:35       ` 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).