1. 16 10月, 2007 7 次提交
    • H
      [IPV4]: Make ip_defrag return the same packet · 1706d587
      Herbert Xu 提交于
      This patch is a bit of a hack.  However it is worth it if you consider that
      this is the only reason why we have to carry around the struct sk_buff **
      pointers in netfilter.
      
      It makes ip_defrag always return the packet that was given to it on input.
      It does this by cloning the packet and replacing its original contents with
      the head fragment if necessary.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1706d587
    • H
      [SKBUFF]: Add skb_morph · e0053ec0
      Herbert Xu 提交于
      This patch creates a new function skb_morph that's just like skb_clone
      except that it lets user provide the spare skb that will be overwritten
      by the one that's to be cloned.
      
      This will be used by IP fragment reassembly so that we get back the same
      skb that went in last (rather than the head skb that we get now which
      requires us to carry around double pointers all over the place).
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e0053ec0
    • H
      [SKBUFF]: Merge common code between copy_skb_header and skb_clone · dec18810
      Herbert Xu 提交于
      This patch creates a new function __copy_skb_header to merge the common
      code between copy_skb_header and skb_clone.  Having two functions which
      are largely the same is a source of wasted labour as well as confusion.
      
      In fact the tc_verd stuff is almost certainly a bug since it's treated
      differently in skb_clone compared to the callers of copy_skb_header
      (skb_copy/pskb_copy/skb_copy_expand).
      
      I've kept that difference in tact with a comment added asking for
      clarification.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dec18810
    • L
      Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 · f4921aff
      Linus Torvalds 提交于
      * git://git.linux-nfs.org/pub/linux/nfs-2.6: (131 commits)
        NFSv4: Fix a typo in nfs_inode_reclaim_delegation
        NFS: Add a boot parameter to disable 64 bit inode numbers
        NFS: nfs_refresh_inode should clear cache_validity flags on success
        NFS: Fix a connectathon regression in NFSv3 and NFSv4
        NFS: Use nfs_refresh_inode() in ops that aren't expected to change the inode
        SUNRPC: Don't call xprt_release in call refresh
        SUNRPC: Don't call xprt_release() if call_allocate fails
        SUNRPC: Fix buggy UDP transmission
        [23/37] Clean up duplicate includes in
        [2.6 patch] net/sunrpc/rpcb_clnt.c: make struct rpcb_program static
        SUNRPC: Use correct type in buffer length calculations
        SUNRPC: Fix default hostname created in rpc_create()
        nfs: add server port to rpc_pipe info file
        NFS: Get rid of some obsolete macros
        NFS: Simplify filehandle revalidation
        NFS: Ensure that nfs_link() returns a hashed dentry
        NFS: Be strict about dentry revalidation when doing exclusive create
        NFS: Don't zap the readdir caches upon error
        NFS: Remove the redundant nfs_reval_fsid()
        NFSv3: Always use directory post-op attributes in nfs3_proc_lookup
        ...
      
      Fix up trivial conflict due to sock_owned_by_user() cleanup manually in
      net/sunrpc/xprtsock.c
      f4921aff
    • L
      Merge branch 'v2.6.24-lockdep' of... · 419217cb
      Linus Torvalds 提交于
      Merge branch 'v2.6.24-lockdep' of git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-lockdep
      
      * 'v2.6.24-lockdep' of git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-lockdep:
        lockdep: annotate dir vs file i_mutex
        lockdep: per filesystem inode lock class
        lockdep: annotate kprobes irq fiddling
        lockdep: annotate rcu_read_{,un}lock{,_bh}
        lockdep: annotate journal_start()
        lockdep: s390: connect the sysexit hook
        lockdep: x86_64: connect the sysexit hook
        lockdep: i386: connect the sysexit hook
        lockdep: syscall exit check
        lockdep: fixup mutex annotations
        lockdep: fix mismatched lockdep_depth/curr_chain_hash
        lockdep: Avoid /proc/lockdep & lock_stat infinite output
        lockdep: maintainers
      419217cb
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · 4937ce87
      Linus Torvalds 提交于
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] update sn2_defconfig
        [IA64] Fix kernel hangup in kdump on INIT
        [IA64] Fix kernel panic in kdump on INIT
        [IA64] Remove vector from ia64_machine_kexec()
        [IA64] Fix race when multiple cpus go through MCA
        [IA64] Remove needless delay in MCA rendezvous
        [IA64] add driver for ACPI methods to call native firmware
        [IA64] abstract SAL_CALL wrapper to allow other firmware entry points
        [IA64] perfmon: Remove exit_pfm_fs()
        [IA64] tree-wide: Misc __cpu{initdata, init, exit} annotations
      4937ce87
    • L
      Get rid of unused variable warning in drivers/pci/hotplug/pci_hotplug_core.c · 4271e0f7
      Linus Torvalds 提交于
      Commit 5a7ad7f0 removed all uses of
      'retval', but didn't remove the variable itself.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4271e0f7
  2. 15 10月, 2007 33 次提交