]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81b364186daecdd2cee21c9eaa3d978a5a67f08c
tree647c311d780fef18e125005b7eb833002ca599f9
parent582f3b1f75629f6be854ab7ba8388a486cf94638
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