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

Maksim Yevmenkin emax at FreeBSD.org
Fri Sep 2 20:39:41 PDT 2005


emax        2005-09-03 03:39:40 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    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_5
  
  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.2.6.2   +1 -0      src/sys/netgraph/bluetooth/include/ng_l2cap.h
  1.4.2.2   +3 -0      src/sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.c
  1.7.2.4   +10 -1     src/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
  1.4.4.2   +1 -0      src/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h


More information about the cvs-src mailing list