]> 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)
commit6e5b82efaf6eb767971dae22e40dc25e78e45906
tree39d175b8a2ae53295888ce445701bf6c296cb163
parentc40d5f3ec25425d04e869cad7a71f1193559d051
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