netfilter: nf_tables: restore context for expression destructors
authorPatrick McHardy <kaber@trash.net>
Fri, 7 Mar 2014 18:08:30 +0000 (19:08 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 8 Mar 2014 11:35:17 +0000 (12:35 +0100)
commit62472bcefb56ae9c3a6be3284949ce758656cdec
tree647c311d780fef18e125005b7eb833002ca599f9
parenta36e901cf60d4e9a1882d2a98b1a9c60e84aff2c
netfilter: nf_tables: restore context for expression destructors

In order to fix set destruction notifications and get rid of unnecessary
members in private data structures, pass the context to expressions'
destructor functions again.

In order to do so, replace various members in the nft_rule_trans structure
by the full context.

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_api.c
net/netfilter/nft_compat.c
net/netfilter/nft_ct.c
net/netfilter/nft_immediate.c
net/netfilter/nft_log.c
net/netfilter/nft_lookup.c