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)
commit655eef103d0bd99f540a52f7ede032e120756846
tree4279dfa6fd9c3e7825ce0a4f892b72d5a52eeb0d
parent6cff339bbd5f9eda7a5e8a521f91a88d046e6d0c
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