netfilter: xtables: use xt_table for hook instantiation
authorJan Engelhardt <jengelh@medozas.de>
Wed, 17 Jun 2009 11:57:48 +0000 (13:57 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 10 Feb 2010 16:13:33 +0000 (17:13 +0100)
The respective xt_table structures already have most of the metadata
needed for hook setup. Add a 'priority' field to struct xt_table so
that xt_hook_link() can be called with a reduced number of arguments.

So should we be having more tables in the future, it comes at no
static cost (only runtime, as before) - space saved:
6807373->6806555.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>

No differences found