1. 17 2月, 2010 6 次提交
  2. 16 2月, 2010 2 次提交
  3. 15 2月, 2010 3 次提交
  4. 13 2月, 2010 2 次提交
  5. 12 2月, 2010 1 次提交
  6. 11 2月, 2010 8 次提交
  7. 10 2月, 2010 1 次提交
  8. 09 2月, 2010 2 次提交
    • P
      netfilter: nf_conntrack: fix hash resizing with namespaces · d696c7bd
      Patrick McHardy 提交于
      As noticed by Jon Masters <jonathan@jonmasters.org>, the conntrack hash
      size is global and not per namespace, but modifiable at runtime through
      /sys/module/nf_conntrack/hashsize. Changing the hash size will only
      resize the hash in the current namespace however, so other namespaces
      will use an invalid hash size. This can cause crashes when enlarging
      the hashsize, or false negative lookups when shrinking it.
      
      Move the hash size into the per-namespace data and only use the global
      hash size to initialize the per-namespace value when instanciating a
      new namespace. Additionally restrict hash resizing to init_net for
      now as other namespaces are not handled currently.
      
      Cc: stable@kernel.org
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d696c7bd
    • A
      netfilter: xtables: compat out of scope fix · 14c7dbe0
      Alexey Dobriyan 提交于
      As per C99 6.2.4(2) when temporary table data goes out of scope,
      the behaviour is undefined:
      
      	if (compat) {
      		struct foo tmp;
      		...
      		private = &tmp;
      	}
      	[dereference private]
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      14c7dbe0
  9. 08 2月, 2010 1 次提交
  10. 05 2月, 2010 1 次提交
  11. 03 2月, 2010 3 次提交
  12. 02 2月, 2010 1 次提交
  13. 28 1月, 2010 1 次提交
  14. 26 1月, 2010 1 次提交
  15. 25 1月, 2010 1 次提交
  16. 23 1月, 2010 4 次提交
  17. 20 1月, 2010 1 次提交
  18. 19 1月, 2010 1 次提交