diff options
author | Xiaotian Feng <[email protected]> | 2010-05-31 16:41:09 +0200 |
---|---|---|
committer | Patrick McHardy <[email protected]> | 2010-05-31 16:41:09 +0200 |
commit | c936e8bd1de2fa50c49e3df6fa5036bf07870b67 (patch) | |
tree | 41cbd0cad5110ad5fea36564e762a0693184cc05 /net/lapb/lapb_out.c | |
parent | 67a3e12b05e055c0415c556a315a3d3eb637e29e (diff) |
netfilter: don't xt_jumpstack_alloc twice in xt_register_table
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: Xiaotian Feng <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Jan Engelhardt <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Acked-By: Jan Engelhardt <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions