]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74afb5fdaf4bfa0b15baffe307b430d9ee13c7cc
treee31b2fd40b14530c5b49413070495eabd082eb1f
parent9336b2bad6bf9287ee40f9b0012fb5f47c4b02a4
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