1. 01 10月, 2009 1 次提交
  2. 06 7月, 2009 1 次提交
  3. 15 7月, 2008 3 次提交
  4. 13 5月, 2008 1 次提交
  5. 25 4月, 2008 1 次提交
  6. 15 4月, 2008 7 次提交
  7. 14 4月, 2008 2 次提交
  8. 27 3月, 2008 1 次提交
  9. 26 3月, 2008 1 次提交
  10. 07 3月, 2008 1 次提交
  11. 04 3月, 2008 1 次提交
  12. 08 2月, 2008 1 次提交
  13. 15 12月, 2007 1 次提交
  14. 01 11月, 2007 1 次提交
  15. 11 10月, 2007 1 次提交
    • E
      [NET]: Make socket creation namespace safe. · 1b8d7ae4
      Eric W. Biederman 提交于
      This patch passes in the namespace a new socket should be created in
      and has the socket code do the appropriate reference counting.  By
      virtue of this all socket create methods are touched.  In addition
      the socket create methods are modified so that they will fail if
      you attempt to create a socket in a non-default network namespace.
      
      Failing if we attempt to create a socket outside of the default
      network namespace ensures that as we incrementally make the network stack
      network namespace aware we will not export functionality that someone
      has not audited and made certain is network namespace safe.
      Allowing us to partially enable network namespaces before all of the
      exotic protocols are supported.
      
      Any protocol layers I have missed will fail to compile because I now
      pass an extra parameter into the socket creation code.
      
      [ Integrated AF_IUCV build fixes from Andrew Morton... -DaveM ]
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1b8d7ae4
  16. 19 7月, 2007 1 次提交
  17. 11 7月, 2007 2 次提交
  18. 26 4月, 2007 1 次提交
    • A
      [SK_BUFF]: Convert skb->tail to sk_buff_data_t · 27a884dc
      Arnaldo Carvalho de Melo 提交于
      So that it is also an offset from skb->head, reduces its size from 8 to 4 bytes
      on 64bit architectures, allowing us to combine the 4 bytes hole left by the
      layer headers conversion, reducing struct sk_buff size to 256 bytes, i.e. 4
      64byte cachelines, and since the sk_buff slab cache is SLAB_HWCACHE_ALIGN...
      :-)
      
      Many calculations that previously required that skb->{transport,network,
      mac}_header be first converted to a pointer now can be done directly, being
      meaningful as offsets or pointers.
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      27a884dc
  19. 11 2月, 2007 1 次提交
  20. 19 10月, 2006 2 次提交
  21. 11 10月, 2006 1 次提交
  22. 26 6月, 2006 8 次提交