cvs commit: src/sys/netgraph/bluetooth/include ng_l2cap.h
src/sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c ng_l2cap_misc.c
Maksim Yevmenkin
emax at FreeBSD.org
Wed Aug 31 18:13:24 GMT 2005
emax 2005-08-31 18:13:23 UTC
FreeBSD src repository
Modified files:
sys/netgraph/bluetooth/include ng_l2cap.h
sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c ng_l2cap_misc.c
Log:
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>
MFC after: 3 days
Revision Changes Path
1.4 +1 -0 src/sys/netgraph/bluetooth/include/ng_l2cap.h
1.6 +3 -0 src/sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.c
1.12 +10 -5 src/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
More information about the cvs-src
mailing list