IPVS: Add IPv6 support to SH and DH schedulers
authorJulius Volz <julius.volz@gmail.com>
Sat, 1 Nov 2008 13:13:19 +0000 (13:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Nov 2008 07:52:01 +0000 (23:52 -0800)
commit20971a0afb8bc0eeb6865ceadd435e4a2dba0fd7
tree2d53792b5f141608e7a7fcb018a252c1f3e70c88
parent2a6cf35543302e9a5c807eaf13298f510fbdf8f2
IPVS: Add IPv6 support to SH and DH schedulers

Add IPv6 support to SH and DH schedulers. I hope this simple IPv6 address
hashing is good enough. The 128 bit are just XORed into 32 before hashing
them like an IPv4 address.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/ipvs/ip_vs_dh.c
net/netfilter/ipvs/ip_vs_sh.c