1. 24 8月, 2005 2 次提交
    • R
      [AX25]: UID fixes · 01d7dd0e
      Ralf Baechle 提交于
       o Brown paperbag bug - ax25_findbyuid() was always returning a NULL pointer
         as the result.  Breaks ROSE completly and AX.25 if UID policy set to deny.
      
       o While the list structure of AX.25's UID to callsign mapping table was
         properly protected by a spinlock, it's elements were not refcounted
         resulting in a race between removal and usage of an element.
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      01d7dd0e
    • R
      [NET]: Fix socket bitop damage · 53b924b3
      Ralf Baechle 提交于
      The socket flag cleanups that went into 2.6.12-rc1 are basically oring
      the flags of an old socket into the socket just being created.
      Unfortunately that one was just initialized by sock_init_data(), so already
      has SOCK_ZAPPED set.  As the result zapped sockets are created and all
      incoming connection will fail due to this bug which again was carefully
      replicated to at least AX.25, NET/ROM or ROSE.
      
      In order to keep the abstraction alive I've introduced sock_copy_flags()
      to copy the socket flags from one sockets to another and used that
      instead of the bitwise copy thing.  Anyway, the idea here has probably
      been to copy all flags, so sock_copy_flags() should be the right thing.
      With this the ham radio protocols are usable again, so I hope this will
      make it into 2.6.13.
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      53b924b3
  2. 20 8月, 2005 2 次提交
    • L
      Fix nasty ncpfs symlink handling bug. · cc314eef
      Linus Torvalds 提交于
      This bug could cause oopses and page state corruption, because ncpfs
      used the generic page-cache symlink handlign functions.  But those
      functions only work if the page cache is guaranteed to be "stable", ie a
      page that was installed when the symlink walk was started has to still
      be installed in the page cache at the end of the walk.
      
      We could have fixed ncpfs to not use the generic helper routines, but it
      is in many ways much cleaner to instead improve on the symlink walking
      helper routines so that they don't require that absolute stability.
      
      We do this by allowing "follow_link()" to return a error-pointer as a
      cookie, which is fed back to the cleanup "put_link()" routine.  This
      also simplifies NFS symlink handling.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cc314eef
    • D
      [SPARC64]: Move kernel unaligned trap handlers into assembler file. · a3f99858
      David S. Miller 提交于
      GCC 4.x really dislikes the games we are playing in
      unaligned.c, and the cleanest way to fix this is to
      move things into assembler.
      
      Noted by Al Viro.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a3f99858
  3. 19 8月, 2005 11 次提交
  4. 17 8月, 2005 4 次提交
  5. 16 8月, 2005 3 次提交
  6. 15 8月, 2005 2 次提交
  7. 14 8月, 2005 1 次提交
  8. 12 8月, 2005 3 次提交
  9. 11 8月, 2005 1 次提交
  10. 10 8月, 2005 4 次提交
  11. 09 8月, 2005 5 次提交
    • J
      [PATCH] fsnotify-cleanups · 00dd1e43
      John McCutchan 提交于
      This removes the now unused fsnotify_unlink & fsnotify_rmdir code.
      Compile tested.
      Signed-off-by: NJohn McCutchan <ttb@tentacle.dhs.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      00dd1e43
    • L
      Revert "[PATCH] PCI: restore BAR values..." · dc836b5b
      Linus Torvalds 提交于
      Revert commit fec59a71, which is
      breaking sparc64 that doesn't have a working pci_update_resource.
      
      We'll re-do this after 2.6.13 when we'll do it all properly.
      dc836b5b
    • J
      [SCSI] fix target scanning oops with fc transport class · 5c44cd2a
      James.Smart@Emulex.Com 提交于
      We have some nasty issues with 2.6.12-rc6. Any request to scan on
      the lpfc or qla2xxx FC adapters will oops. What is happening is the
      system is defaulting to non-transport registered targets, which
      inherit the parent of the scan. On this second scan, performed by
      the attribute, the parent becomes the shost instead of the rport.
      The slave functions in the 2 FC adapters use starget_to_rport()
      routines, which incorrectly map the shost as an rport pointer.
      
      Additionally, this pointed out other weaknesses:
      - If the target structure is torn down outside of the transport,
        we have no method for it to be regenerated at the proper parent.
      - We have race conditions on the target being allocated by both
        the midlayer scan (parent=shost) and by the fc transport
        (parent=rport).
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      5c44cd2a
    • D
      [NETLINK]: Allocate and kill some netlink numbers. · 4d479e40
      David S. Miller 提交于
      NETLINK_ARPD is unused, allocate it to the Open-iSCSI folks.
      
      NETLINK_ROUTE6 and NETLINK_TAPBASE are no longer used, delete
      them.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4d479e40
    • J
      [PATCH] fsnotify_name/inoderemove · 7a91bf7f
      John McCutchan 提交于
      The patch below unhooks fsnotify from vfs_unlink & vfs_rmdir.  It
      introduces two new fsnotify calls, that are hooked in at the dcache
      level.  This not only more closely matches how the VFS layer works, it
      also avoids the problem with locking and inode lifetimes.
      
      The two functions are
      
       - fsnotify_nameremove -- called when a directory entry is going away.
         It notifies the PARENT of the deletion.  This is called from
         d_delete().
      
       - inoderemove -- called when the files inode itself is going away.  It
         notifies the inode that is being deleted.  This is called from
         dentry_iput().
      Signed-off-by: NJohn McCutchan <ttb@tentacle.dhs.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7a91bf7f
  12. 08 8月, 2005 2 次提交
    • O
      [PATCH] remove linux/pagemap.h from linux/swap.h · 9ae5b3c7
      Olaf Hering 提交于
      sparc can not include linux/pagemap.h because of the following circular
      dependency:
      
      asm-sparc/pgtable include linux/swap.h
      linux/swap.h include now linux/pagemap.h
      linux/pagemap.h include linux/mm.h
      linux/mm.h include asm/pgtable.h
      
      It needs to have the swp_entry_t type fully visible in pgtable.h,
      we can't work around this using macros.
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Cc: William Lee Irwin III <wli@holomorphy.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9ae5b3c7
    • T
      [PATCH] Make visws compile again · 6c79d726
      Tom Duffy 提交于
      In file included from linux-2.6.13-rc5/arch/i386/kernel/timers/timer_pit.c:20:
      linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h: In function `do_timer_overflow':
      linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: `i8259A_lock' undeclared (first use in this function)
      linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: (Each undeclared identifier is reported only once
      linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: for each function it appears in.)
      make[3]: *** [arch/i386/kernel/timers/timer_pit.o] Error 1
      make[2]: *** [arch/i386/kernel/timers] Error 2
      make[1]: *** [arch/i386/kernel] Error 2
      make: *** [_all] Error 2
      Signed-off-by: NTom Duffy <thomas.duffy.99@alumni.brown.edu>
      Cc: Andrey Panin <pazke@orbita1.ru>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6c79d726