]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_ct: load both IPv4 and IPv6 conntrack modules for NFPROTO_INET
authorPatrick McHardy <kaber@trash.net>
Mon, 6 Jan 2014 18:09:49 +0000 (18:09 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 7 Jan 2014 22:57:32 +0000 (23:57 +0100)
commit5bb5b6e3cb207e5cbdaecc3ca6c26c46e87af3e3
tree3d9372689c382af60fd1a2aa26dd3bb1f5140dd3
parented7ad198b5b9cb472ff90c0d61b6f4328cd099e9
netfilter: nft_ct: load both IPv4 and IPv6 conntrack modules for NFPROTO_INET

The ct expression can currently not be used in the inet family since
we don't have a conntrack module for NFPROTO_INET, so
nf_ct_l3proto_try_module_get() fails. Add some manual handling to
load the modules for both NFPROTO_IPV4 and NFPROTO_IPV6 if the
ct expression is used in the inet family.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_ct.c