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:34:24 PDT 2005


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


More information about the cvs-src mailing list