ipvs: allow rs_table to contain different real server types
authorJulian Anastasov <ja@ssi.bg>
Sun, 5 May 2019 12:14:38 +0000 (15:14 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 31 May 2019 15:47:57 +0000 (17:47 +0200)
commit1da40ab6caf924633116582c4c86939c486f20db
treeb1f57e692cec8ff8bc17fe97a7834d9837bf01cb
parent7b3ed2a137b077bc0967352088b0adb6049eed20
ipvs: allow rs_table to contain different real server types

Before now rs_table was used only for NAT real servers.
Change it to allow TUN real severs from different types,
possibly hashed with different port key.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_ctl.c