Cool.
That's what I wanted to see.
Correct. And I don't see how it's guaranteed that the timer is deleted
before l2cap_conn_del() is called which kfree's the l2cap_conn
structure.
Yes, it is. The little information you got should be enough to solve
this. Thanks for your patience and help !
Does the patch below fix your problem ?
Thanks,
tglx
---
net/bluetooth/l2cap.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6/net/bluetooth/l2cap.c
===================================================================
--- linux-2.6.orig/net/bluetooth/l2cap.c
+++ linux-2.6/net/bluetooth/l2cap.c
@@ -417,6 +417,8 @@ static void l2cap_conn_del(struct hci_co
l2cap_sock_kill(sk);
}
+ del_timer(&conn->info_timer);
+
hcon->l2cap_data = NULL;
kfree(conn);
}
--