]> asedeno.scripts.mit.edu Git - linux.git/commit
ipvs: fix dependency on nf_defrag_ipv6
authorAndrea Claudi <aclaudi@redhat.com>
Mon, 11 Feb 2019 15:14:39 +0000 (16:14 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Feb 2019 10:24:01 +0000 (11:24 +0100)
commit098e13f5b21d3398065fce8780f07a3ef62f4812
treea242576ffcfdb8a90388e475d3ad2d7cfa574fcf
parent8d29d16d21342a0c86405d46de0c4ac5daf1760f
ipvs: fix dependency on nf_defrag_ipv6

ipvs relies on nf_defrag_ipv6 module to manage IPv6 fragmentation,
but lacks proper Kconfig dependencies and does not explicitly
request defrag features.

As a result, if netfilter hooks are not loaded, when IPv6 fragmented
packet are handled by ipvs only the first fragment makes through.

Fix it properly declaring the dependency on Kconfig and registering
netfilter hooks on ip_vs_add_service() and ip_vs_new_dest().

Reported-by: Li Shuang <shuali@redhat.com>
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/Kconfig
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_ctl.c