1. 11 10月, 2007 3 次提交
    • 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
    • E
      [NET]: Make /proc/net per network namespace · 457c4cbc
      Eric W. Biederman 提交于
      This patch makes /proc/net per network namespace.  It modifies the global
      variables proc_net and proc_net_stat to be per network namespace.
      The proc_net file helpers are modified to take a network namespace argument,
      and all of their callers are fixed to pass &init_net for that argument.
      This ensures that all of the /proc/net files are only visible and
      usable in the initial network namespace until the code behind them
      has been updated to be handle multiple network namespaces.
      
      Making /proc/net per namespace is necessary as at least some files
      in /proc/net depend upon the set of network devices which is per
      network namespace, and even more files in /proc/net have contents
      that are relevant to a single network namespace.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      457c4cbc
    • N
      [SCTP]: Rewrite of sctp buffer management code · 4d93df0a
      Neil Horman 提交于
      This patch introduces autotuning to the sctp buffer management code
      similar to the TCP.  The buffer space can be grown if the advertised
      receive window still has room.  This might happen if small message
      sizes are used, which is common in telecom environmens.
      New tunables are introduced that provide limits to buffer growth
      and memory pressure is entered if to much buffer spaces is used.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4d93df0a
  2. 17 9月, 2007 2 次提交
  3. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      20c2df83
  4. 05 5月, 2007 1 次提交
  5. 04 5月, 2007 1 次提交
  6. 26 4月, 2007 3 次提交
  7. 11 2月, 2007 1 次提交
  8. 26 1月, 2007 1 次提交
  9. 23 12月, 2006 1 次提交
  10. 14 12月, 2006 2 次提交
  11. 08 12月, 2006 1 次提交
  12. 03 12月, 2006 15 次提交
  13. 31 10月, 2006 1 次提交
  14. 23 9月, 2006 3 次提交
  15. 22 7月, 2006 1 次提交
  16. 18 6月, 2006 1 次提交
  17. 21 3月, 2006 2 次提交