1. 19 7月, 2012 1 次提交
    • E
      ipv6: add ipv6_addr_hash() helper · ddbe5032
      Eric Dumazet 提交于
      Introduce ipv6_addr_hash() helper doing a XOR on all bits
      of an IPv6 address, with an optimized x86_64 version.
      
      Use it in flow dissector, as suggested by Andrew McGregor,
      to reduce hash collision probabilities in fq_codel (and other
      users of flow dissector)
      
      Use it in ip6_tunnel.c and use more bit shuffling, as suggested
      by David Laight, as existing hash was ignoring most of them.
      
      Use it in sunrpc and use more bit shuffling, using hash_32().
      
      Use it in net/ipv6/addrconf.c, using hash_32() as well.
      
      As a cleanup, use it in net/ipv4/tcp_metrics.c
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Reported-by: NAndrew McGregor <andrewmcgr@gmail.com>
      Cc: Dave Taht <dave.taht@gmail.com>
      Cc: Tom Herbert <therbert@google.com>
      Cc: David Laight <David.Laight@ACULAB.COM>
      Cc: Joe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ddbe5032
  2. 11 7月, 2012 1 次提交
  3. 05 7月, 2012 1 次提交
    • D
      sunrpc: Don't do a dst_confirm() on an input routes. · 60d354eb
      David S. Miller 提交于
      xs_udp_data_ready() is operating on received packets, and tries to
      do a dst_confirm() on the dst attached to the SKB.
      
      This isn't right, dst confirmation is for output routes, not input
      rights.  It's for resetting the timers on the nexthop neighbour entry
      for the route, indicating that we've got good evidence that we've
      successfully reached it.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      60d354eb
  4. 28 6月, 2012 1 次提交
  5. 12 6月, 2012 1 次提交
  6. 01 6月, 2012 8 次提交
  7. 20 5月, 2012 1 次提交
  8. 17 5月, 2012 2 次提交
  9. 16 5月, 2012 1 次提交
  10. 15 5月, 2012 1 次提交
    • R
      sunrpc: fix kernel-doc warnings · bda14606
      Randy Dunlap 提交于
      Fix kernel-doc warnings in sunrpc/rpc_pipe.c and
      sunrpc/rpcb_clnt.c:
      
      Warning(net/sunrpc/rpcb_clnt.c:428): No description found for parameter 'net'
      Warning(net/sunrpc/rpcb_clnt.c:567): No description found for parameter 'net'
      
      Warning(net/sunrpc/rpc_pipe.c:133): No description found for parameter 'pipe'
      Warning(net/sunrpc/rpc_pipe.c:133): Excess function parameter 'inode' description in 'rpc_queue_upcall'
      Warning(net/sunrpc/rpc_pipe.c:839): No description found for parameter 'pipe'
      Warning(net/sunrpc/rpc_pipe.c:839): Excess function parameter 'ops' description in 'rpc_mkpipe_dentry'
      Warning(net/sunrpc/rpc_pipe.c:839): Excess function parameter 'flags' description in 'rpc_mkpipe_dentry'
      Warning(net/sunrpc/rpc_pipe.c:949): No description found for parameter 'dentry'
      Warning(net/sunrpc/rpc_pipe.c:949): Excess function parameter 'clnt' description in 'rpc_remove_client_dir'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      bda14606
  11. 11 5月, 2012 1 次提交
    • L
      vfs: make it possible to access the dentry hash/len as one 64-bit entry · 26fe5750
      Linus Torvalds 提交于
      This allows comparing hash and len in one operation on 64-bit
      architectures.  Right now only __d_lookup_rcu() takes advantage of this,
      since that is the case we care most about.
      
      The use of anonymous struct/unions hides the alternate 64-bit approach
      from most users, the exception being a few cases where we initialize a
      'struct qstr' with a static initializer.  This makes the problematic
      cases use a new QSTR_INIT() helper function for that (but initializing
      just the name pointer with a "{ .name = xyzzy }" initializer remains
      valid, as does just copying another qstr structure).
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      26fe5750
  12. 04 5月, 2012 1 次提交
  13. 03 5月, 2012 1 次提交
  14. 30 4月, 2012 1 次提交
  15. 28 4月, 2012 4 次提交
  16. 26 4月, 2012 1 次提交
  17. 22 4月, 2012 1 次提交
  18. 18 4月, 2012 1 次提交
  19. 16 4月, 2012 1 次提交
  20. 12 4月, 2012 1 次提交
  21. 29 3月, 2012 1 次提交
  22. 28 3月, 2012 1 次提交
  23. 26 3月, 2012 2 次提交
  24. 21 3月, 2012 5 次提交