]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_cluster: add dependency on conntrack module
authorMartin Willi <martin@strongswan.org>
Wed, 22 Aug 2018 08:27:17 +0000 (10:27 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Aug 2018 18:26:53 +0000 (20:26 +0200)
commitd6234fed67e3978c4eb875512cab1090f6c02039
tree39d175b8a2ae53295888ce445701bf6c296cb163
parent7ddf78f56e736ddaf3582401a2ee39e53575e2e5
netfilter: xt_cluster: add dependency on conntrack module

The cluster match requires conntrack for matching packets. If the
netns does not have conntrack hooks registered, the match does not
work at all.

Implicitly load the conntrack hook for the family, exactly as many
other extensions do. This ensures that the match works even if the
hooks have not been registered by other means.

Signed-off-by: Martin Willi <martin@strongswan.org>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_cluster.c