Re: [PATCH] Bluetooth USB: fix kernel panic during suspend - 2.6.24

From: Marcel Holtmann
Date: Sat Feb 14 2009 - 07:53:47 EST


Hi Greg,

> > The kernel panics when hci_usb_tx_complete() calls _urb_unlink()
> > on an _urb which has been previously been removed from a list.
> > This occurs during suspend while audio is being streamed to
> > a bluetooth headset.
> >
> > The panic occurs because hci_usb_suspend() dequeues _urb
> > and then calls usb_kill_urb() - instead it should put _urb on
> > the killed list first before killing the urb.
> >
> > Also added a spin_lock around the list_add operation.
> >
> > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Is this still an issue on a supported-by-the-community kernel (.27, .28,
> .29)?

starting with 2.6.29 the hci_usb driver has been replaced by btusb.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/