netfilter: nft_compat: prepare for indirect info storage
authorFlorian Westphal <fw@strlen.de>
Mon, 7 May 2018 13:22:35 +0000 (15:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Jul 2018 13:30:48 +0000 (15:30 +0200)
commitea200cdd605662de24f7cd92e03aa6a335e0b4da
tree580ab644b571c4ce7585bae9db092eaea52e5edc
parent1ea5ed0cadcae75f733d7bd870fea90d05f42528
netfilter: nft_compat: prepare for indirect info storage

commit 8bdf164744b2c7f63561846c01cff3db597f282d upstream.

Next patch will make it possible for *info to be stored in
a separate allocation instead of the expr private area.

This removes the 'expr priv area is info blob' assumption
from the match init/destroy/eval functions.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nft_compat.c