1. 16 5月, 2005 7 次提交
  2. 07 5月, 2005 4 次提交
  3. 06 5月, 2005 28 次提交
  4. 05 5月, 2005 1 次提交
    • R
      [PATCH] drivers/base/bus.c: fix iteration in driver_detach() · b2d84f07
      Roman Kagan 提交于
      With 2.6.11 and 2.6.12-rc2 (and perhaps a few versions before) usb
      drivers for multi-interface devices, which do
      usb_driver_release_interface() in their disconnect(), make rmmod hang.
      
      It turns out to be due to a bug in drivers/base/bus.c:driver_detach(),
      that iterates over the list of attached devices with
      list_for_each_safe() under an assumption that device_release_driver()
      only releases the current device, while it may also call
      device_release_driver() for other devices on the same list.
      
      The following patch fixes it.  Please consider applying.
      Signed-off-by: NRoman Kagan <rkagan@mail.ru>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b2d84f07