Date: Sat, 3 Sep 2005 03:34:23 +0000 (UTC) From: Maksim Yevmenkin <emax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph/bluetooth/include ng_l2cap.h src/sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c ng_l2cap_misc.c ng_l2cap_misc.h Message-ID: <200509030334.j833YNWo013527@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emax 2005-09-03 03:34:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph/bluetooth/include ng_l2cap.h sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c ng_l2cap_misc.c ng_l2cap_misc.h Log: MFC to RELENG 6 Fix dangling callout problem in the Bluetooth L2CAP code that leads to panic. The panic happens when outgoing L2CAP connection descriptor is deleted with the L2CAP command(s) pending in the queue. In this case when the last L2CAP command is deleted (due to cleanup) and reference counter for the L2CAP connection goes down to zero the auto disconnect timeout is incorrectly set. pjd gets credit for tracking this down and committing bandaid. Reported by: Jonatan B <onatan at gmail dot com> Approved by: re (scottl) Revision Changes Path 1.3.2.1 +1 -0 src/sys/netgraph/bluetooth/include/ng_l2cap.h 1.5.2.1 +3 -0 src/sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.c 1.10.2.1 +10 -1 src/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c 1.5.2.1 +1 -0 src/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509030334.j833YNWo013527>