ipvs: zero usvc and udest
authorSimon Horman <horms@verge.net.au>
Tue, 15 Dec 2009 16:01:25 +0000 (17:01 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 15 Dec 2009 16:01:25 +0000 (17:01 +0100)
commit258c889362aa95d0ab534b38ce8c15d3009705b1
tree227a7a3df0dfd8d094edfd2ff350011605c202a3
parent8fa9ff6849bb86c59cc2ea9faadf3cb2d5223497
ipvs: zero usvc and udest

Make sure that any otherwise uninitialised fields of usvc are zero.

This has been obvserved to cause a problem whereby the port of
fwmark services may end up as a non-zero value which causes
scheduling of a destination server to fail for persisitent services.

As observed by Deon van der Merwe <dvdm@truteq.co.za>.
This fix suggested by Julian Anastasov <ja@ssi.bg>.

For good measure also zero udest.

Cc: Deon van der Merwe <dvdm@truteq.co.za>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Cc: stable@kernel.org
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipvs/ip_vs_ctl.c