]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: fix ipv6 hook registration for local replies
authorJulian Anastasov <ja@ssi.bg>
Fri, 22 Aug 2014 14:53:41 +0000 (17:53 +0300)
committerSimon Horman <horms@verge.net.au>
Thu, 28 Aug 2014 01:52:37 +0000 (10:52 +0900)
commit8f6f185078e2cd4c6f41a08f1e2462ec38182ca7
treeca212cee64f83231fc9dc6e348668d27e1bf1d84
parente0bdb263d34d8e4fbe2f9a5bb0362d6d72182fdb
ipvs: fix ipv6 hook registration for local replies

commit 90449aeee418bf3f0c03be9dc99bb8d7fa445595
("ipvs: changes for local real server") from 2.6.37
introduced DNAT support to local real server but the
IPv6 LOCAL_OUT handler ip_vs_local_reply6() is
registered incorrectly as IPv4 hook causing any outgoing
IPv4 traffic to be dropped depending on the IP header values.

Chris tracked down the problem to CONFIG_IP_VS_IPV6=y
Bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349768

Reported-by: Chris J Arges <chris.j.arges@canonical.com>
Tested-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_core.c