From: Jan Engelhardt Date: Wed, 17 Jun 2009 11:57:48 +0000 (+0200) Subject: netfilter: xtables: use xt_table for hook instantiation X-Git-Tag: v2.6.34-rc1~233^2~303^2~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b95efe7f6bb750256a702cc32d33b0cb2cd8223;p=pandora-kernel.git netfilter: xtables: use xt_table for hook instantiation 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 --- Reading git-diff-tree failed