1. 31 May, 2010 1 commit
    • Xiaotian Feng's avatar
      netfilter: don't xt_jumpstack_alloc twice in xt_register_table · c936e8bd
      Xiaotian Feng authored
      In xt_register_table, xt_jumpstack_alloc is called first, later
      xt_replace_table is used. But in xt_replace_table, xt_jumpstack_alloc
      will be used again. Then the memory allocated by previous xt_jumpstack_alloc
      will be leaked. We can simply remove the previous xt_jumpstack_alloc because
      there aren't any users of newinfo between xt_jumpstack_alloc and
      xt_replace_table.
      Signed-off-by: default avatarXiaotian Feng <dfeng@redhat.com>
      Cc: Patrick McHardy <kaber@trash.net>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jan Engelhardt <jengelh@medozas.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Acked-By: default avatarJan Engelhardt <jengelh@medozas.de>
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      c936e8bd
  2. 30 May, 2010 26 commits
  3. 29 May, 2010 13 commits