netfilter: xtables: reduce arguments to translate_table
authorJan Engelhardt <jengelh@medozas.de>
Wed, 24 Feb 2010 17:36:04 +0000 (18:36 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 24 Feb 2010 17:36:04 +0000 (18:36 +0100)
commit0f234214d15fa914436d304ecf5c3e43449e79f9
treee31b2fd40b14530c5b49413070495eabd082eb1f
parent6bdb331bc6910d1ccb74dc9852fc858c5916c927
netfilter: xtables: reduce arguments to translate_table

Just pass in the entire repl struct. In case of a new table (e.g.
ip6t_register_table), the repldata has been previously filled with
table->name and table->size already (in ip6t_alloc_initial_table).

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c