ipvs: allow rescheduling after RST
authorJulian Anastasov <ja@ssi.bg>
Sat, 5 Mar 2016 13:03:23 +0000 (15:03 +0200)
committerSimon Horman <horms@verge.net.au>
Mon, 7 Mar 2016 02:53:32 +0000 (11:53 +0900)
commitf911b675a06d05211da52cf8267db80c81b6aee4
tree61d9ab19140d95e2aab94590770318a80c2c0331
parentf719e3754ee2f7275437e61a6afd520181fdd43b
ipvs: allow rescheduling after RST

"RFC 5961, 4.2. Mitigation" describes a mechanism to request
client to confirm with RST the restart of TCP connection
before resending its SYN. As result, IPVS can see SYNs for
existing connection in CLOSE state. Add check to allow
rescheduling in this state.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_core.c