netfilter: nf_tables: add hook ops to struct nft_pktinfo
authorPatrick McHardy <kaber@trash.net>
Fri, 3 Jan 2014 12:16:14 +0000 (12:16 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 7 Jan 2014 22:50:43 +0000 (23:50 +0100)
commitc9484874e7596d6c890e4130336f5379f6a59c5f
tree137a798b9c7b87f4a817d22c795a22614f03be42
parent3b088c4bc0035da662faa81818ba217e34c4bba4
netfilter: nf_tables: add hook ops to struct nft_pktinfo

Multi-family tables need the AF from the hook ops. Add a pointer to the
hook ops and replace usage of the hooknum member in struct nft_pktinfo.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_core.c
net/netfilter/nft_log.c
net/netfilter/nft_reject.c