1. 14 11月, 2009 1 次提交
  2. 12 11月, 2009 2 次提交
  3. 11 11月, 2009 3 次提交
  4. 09 11月, 2009 3 次提交
    • A
      net/compat_ioctl: support SIOCWANDEV · 7a50a240
      Arnd Bergmann 提交于
      This adds compat_ioctl support for SIOCWANDEV, which has
      always been missing.
      
      The definition of struct compat_ifreq was missing an
      ifru_settings fields that is needed to support SIOCWANDEV,
      so add that and clean up the whitespace damage in the
      struct definition.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7a50a240
    • E
      udp: secondary hash on (local port, local address) · 512615b6
      Eric Dumazet 提交于
      Extends udp_table to contain a secondary hash table.
      
      socket anchor for this second hash is free, because UDP
      doesnt use skc_bind_node : We define an union to hold
      both skc_bind_node & a new hlist_nulls_node udp_portaddr_node
      
      udp_lib_get_port() inserts sockets into second hash chain
      (additional cost of one atomic op)
      
      udp_lib_unhash() deletes socket from second hash chain
      (additional cost of one atomic op)
      
      Note : No spinlock lockdep annotation is needed, because
      lock for the secondary hash chain is always get after
      lock for primary hash chain.
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      512615b6
    • E
      udp: split sk_hash into two u16 hashes · d4cada4a
      Eric Dumazet 提交于
      Union sk_hash with two u16 hashes for udp (no extra memory taken)
      
      One 16 bits hash on (local port) value (the previous udp 'hash')
      
      One 16 bits hash on (local address, local port) values, initialized
      but not yet used. This second hash is using jenkin hash for better
      distribution.
      
      Because the 'port' is xored later, a partial hash is performed
      on local address + net_hash_mix(net)
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d4cada4a
  5. 08 11月, 2009 1 次提交
  6. 07 11月, 2009 3 次提交
  7. 06 11月, 2009 4 次提交
  8. 05 11月, 2009 1 次提交
  9. 04 11月, 2009 1 次提交
  10. 03 11月, 2009 5 次提交
  11. 02 11月, 2009 1 次提交
  12. 31 10月, 2009 4 次提交
  13. 30 10月, 2009 3 次提交
  14. 29 10月, 2009 7 次提交
  15. 28 10月, 2009 1 次提交