Thread (16 messages) 16 messages, 4 authors, 2012-02-02

Re: [RESEND 3/3] Bluetooth: Use list _safe deleting from conn chan_list

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-01-31 15:08:10

Hi Andrei,
Fixes possible bug when deleting element from the list in
function hci_chan_list_flush. list_for_each_entry_rcu is used
and after deleting element from the list we also free pointer
and then list_entry_rcu is taken from freed pointer.

Signed-off-by: Andrei Emeltchenko <redacted>
---
 net/bluetooth/hci_conn.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Marcel Holtmann <marcel@holtmann.org>

Regards

Marcel

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help