]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: Supply destination addr family to ip_vs_{lookup_dest,find_dest}
authorAlex Gartrell <agartrell@fb.com>
Tue, 9 Sep 2014 23:40:21 +0000 (16:40 -0700)
committerSimon Horman <horms@verge.net.au>
Tue, 16 Sep 2014 00:03:33 +0000 (09:03 +0900)
commitc568ed9196b172b6c2943496ef45a79d2037c4a9
tree4279dfa6fd9c3e7825ce0a4f892b72d5a52eeb0d
parent1de0b4bb9645929549c17f30cf02b1501b02518b
ipvs: Supply destination addr family to ip_vs_{lookup_dest,find_dest}

We need to remove the assumption that virtual address family is the same as
real address family in order to support heterogeneous services (that is,
services with v4 vips and v6 backends or the opposite).

Signed-off-by: Alex Gartrell <agartrell@fb.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/ipvs/ip_vs_sync.c