1. 20 May, 2003 6 commits
  2. 19 May, 2003 14 commits
  3. 20 May, 2003 8 commits
  4. 19 May, 2003 12 commits
    • David S. Miller's avatar
      [NET]: Fix netdevice unregister races. · ff936f4e
      David S. Miller authored
      We had two major issues when unregistering networking devices.
      1) Even trying to run hotplug asynchronously could deadlock
         if keventd was currently trying to get the RTNL semaphore
         in order to process linkwatch events.
      2) Unregister needs to wait for the last reference to go away
         before the finalization of the unregister can execute.  This
         cannot occur under the RTNL semaphore as this is deadlock
         prone as well.
      
      The solution is to do all of this stuff after dropping the
      RTNL semaphore.  rtnl_lock, if it is about to protect a region
      of code that could unregister network devices, registers a list
      to which unregistered netdevs are attached.  At rtnl_unlock time
      this list is processed to wait for refcounts to drop to zero and
      then finalize the unregister.
      ff936f4e
    • Pete Zaitcev's avatar
      [SPARC]: Switch bitops to unsigned long. · 62cbd987
      Pete Zaitcev authored
      62cbd987
    • Pete Zaitcev's avatar
      [SPARC]: Fix ptracing of syscalls. · 1cc4805a
      Pete Zaitcev authored
      1cc4805a
    • David S. Miller's avatar
    • David S. Miller's avatar
      Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5 · a76e8f99
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
      a76e8f99
    • David S. Miller's avatar
      Merge nuts.ninka.net:/home/davem/src/BK/network-2.5 · 3b1d5e1d
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      3b1d5e1d
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.5 · 6ceec8d0
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/gregkh-2.5
      6ceec8d0
    • David Brownell's avatar
      [PATCH] USB: Fix machine lockup when unloading HC driver · da36985a
      David Brownell authored
      Alan Stern wrote:
      > I finally got tired of my computer locking up when I tried to rmmod the
      > low-level host controller driver.  It turns out the problem lies in the
      > root-hub status urb code in core/hcd.c -- primarily a result of
      > rh_report_status() not calling hcd_giveback_urb()...
      
      Or in short:  your patch removes some old logic for the "automagic
      interrupt transfer" special casing ... which recently started to
      break that rmmod path.
      
      With automagic, the only time an interrupt urb (like the root hub
      status urb) could legitimately be given back was for unlink.  But
      that unlink doesn't seem to be issued in the same way lately during
      the rmmod paths.  (If they're less bizarre lately, that's good!)
      
      
      > If this patch seems all right, will you please let Greg know it's okay to
      > apply it?
      
      I changed a couple minor things below ... basically (a) fixing the
      issue Duncan Sands pointed out (always call completions with irqs
      disabled, even if hub driver currently doesn't care), (b) better
      logic to avoid retriggering the timer during shutdown, (c) not
      doing del_timer_sync() while holding that lock, plus (d) a minor
      linewrap fix.
      da36985a
    • Greg Kroah-Hartman's avatar
      Merge · 2864cffb
      Greg Kroah-Hartman authored
      2864cffb
    • Greg Kroah-Hartman's avatar
      i2c: fix up i2c-dev driver based on previous core changes. · 7a503879
      Greg Kroah-Hartman authored
      This fixes the problem that adapter id's are not the minor number for the
      i2c-dev devices anymore.  Also adds a i2c-dev class to let userspace know
      which i2c-dev device is bound to which i2c adapter.
      7a503879
    • Linus Torvalds's avatar
      Merge ssh://master.kernel.org//home/hch/BK/xfs/linux-2.5/ · d7b7a72d
      Linus Torvalds authored
      into penguin.transmeta.com:/home/torvalds/v2.5/linux
      d7b7a72d
    • Linus Torvalds's avatar
      Merge bk://cifs.bkbits.net/linux-2.5cifs · cc6bcfef
      Linus Torvalds authored
      into penguin.transmeta.com:/home/torvalds/v2.5/linux
      cc6bcfef