IPVS: Add function to determine if IPv6 address is local
authorVince Busam <vbusam@google.com>
Tue, 2 Sep 2008 13:55:52 +0000 (15:55 +0200)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Sep 2008 01:17:12 +0000 (11:17 +1000)
commit09571c7ae30865adfa79dccd12a822a65d2c4b5a
tree4a6b129d70b8dab77bb8f80fff98d9827a5a06ef
parenta0eb662f9ec8962928d937a185ad128db12c4637
IPVS: Add function to determine if IPv6 address is local

Add __ip_vs_addr_is_local_v6() to find out if an IPv6 address belongs to a
local interface. Use this function to decide whether to set the
IP_VS_CONN_F_LOCALNODE flag for IPv6 destinations.

Signed-off-by: Vince Busam <vbusam@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/ip_vs_ctl.c