1. 10 Nov, 2003 7 commits
  2. 09 Nov, 2003 20 commits
  3. 08 Nov, 2003 10 commits
    • David S. Miller's avatar
      Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5 · f194a1ee
      David S. Miller authored
      into hera.kernel.org:/home/davem/BK/net-2.5
      f194a1ee
    • Krishna Kumar's avatar
      [IPV6]: Fix hangs during interface down caused by ipv6_del_addr(). · 4a32b9e7
      Krishna Kumar authored
      While using PRIVACY extensions, I sometimes get a hang when I remove the
      interface. But I can reproduce this every time using the test script at
      the end of the mail (hang depends on the order of address deletion).
      
      The bug is in ipv6_del_addr() where if a temp address is being deleted, it
      does an __in6_ifa_put() of the main address from which it was derived
      (basically the autoconf prefix address). So if the main address was
      deleted first, it's ifp ref count would be 1 and it would 'wait' to be
      freed till it's temp address was freed first. When the temp address is
      deleted, the __put() routine drops the main address's ifp ref count to 0,
      but not free it. unregister_netdevice() hangs giving message that ref
      count is 1. Fix tested overnight.
      
      Also, the code at the top of the routine is unnecessary, the same is being
      done when the address is found a little later in that routine.
      4a32b9e7
    • Herbert Xu's avatar
      94093659
    • David S. Miller's avatar
      7c411484
    • Ingo Molnar's avatar
      [PATCH] SMP signal latency fix · 0db87bc9
      Ingo Molnar authored
      The code that sends a signal needs to "kick" the target process if it
      runs on another CPU and wasn't woken up by the signal to let it know
      that it has a new event.
      
      Otherwise it might take a long time until the target actually notices
      and acts on the signal.
      0db87bc9
    • Ralf Bächle's avatar
      [netdrvr pcnet32] add missing pci_dma_sync_single · e9e3cd4b
      Ralf Bächle authored
      a patch for the pcnet32.c driver which adds a missing call to
      pci_dma_sync_single.  If a received packet is smaller than rx_copybreak
      the pcnet driver will recycle the receive buffer which requires calling
      pci_dma_sync_single.  Patch is against 2.6 but I it's also needed in 2.4.
      
      Without that call the processor might still have old stale data in
      the data cache when the processor accesses the recycled buffer.
      e9e3cd4b
    • Pekka Pietikäinen's avatar
      [netdrvr b44] Fix irq enable/disable; fix oops due to lack of SET_NETDEV_DEV() call · 215a574e
      Pekka Pietikäinen authored
      Also, add suspend/resume functions.
      215a574e
    • Andi Kleen's avatar
      [PATCH] Fix oops in x86-64 strace path · ae40e4b5
      Andi Kleen authored
      Fix a nasty typo found by Albert Cahalan.
      
      This lead to an oops when a invalid syscall was called under strace in 2.6.
      ae40e4b5
    • Andi Kleen's avatar
      [PATCH] Fix TSS limit on x86-64 · 954caecd
      Andi Kleen authored
      The limit of the TSS segment was incorrectly set to a too big value
      on x86-64. This lead to the CPU reading random memory behind the main
      TSS when iopl was >0, but there was no ioperm bitmap set. This caused
      random failures in port accesses in this state.
      
      Set the correct limit.
      954caecd
    • Linus Torvalds's avatar
      Don't fold nanosleep() into clock_nanosleep(). · 35d64a33
      Linus Torvalds authored
      The latter has buggy restart functionality and is a lot
      more complicated anyway.
      35d64a33
  4. 07 Nov, 2003 3 commits
    • Jeff Garzik's avatar
      [libata] fix Promise PCI posting bugs · 84a76754
      Jeff Garzik authored
      84a76754
    • Greg Kroah-Hartman's avatar
      [PATCH] fix reference count bug with class devices · 59ccfc46
      Greg Kroah-Hartman authored
      When a kobject is associated with a kset, the kset MUST be set before
      the kobject is initialized (by either a call to kobject_register() or
      kobject_init()).  This patch fixes the class code which improperly set
      the kset after the kobject was initialized, which would cause improper
      reference counts on the kset.
      
      Thanks to Mike Anderson for locating the source of this bug.
      59ccfc46
    • Andi Kleen's avatar
      [PATCH] Fix IP checksum for SuSE 9.0 compiler · 6077b1d3
      Andi Kleen authored
      The hammer branch based gcc 3.3 in SuSE 9.0 has a more aggressive
      optimizer. ip_send_check has this code:
      
      	iph->check = 0;
      	iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
      
      The new gcc optimizes the first store away because it doesn't know
      that ip_fast_csum reads its input memory. This leads to occassionally
      packets with wrong IP header checksum getting sent; this happens especially
      with NFS. Fixing it in the constraints would have been ugly and probably
      not future proof, so this patch just adds a memory clobber to ip_fast_csum.
      
      For some reason the issue only hits in 2.6, we haven't seen it in 2.4.
      Problem occurs on both i386 and x86-64.
      
      Credit goes to Olaf Kirch for tracking this down.
      6077b1d3