]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: fix matching of fwmark templates during scheduling
authorSimon Horman <horms@verge.net.au>
Fri, 27 Jan 2012 01:45:27 +0000 (10:45 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 4 Feb 2012 19:27:58 +0000 (20:27 +0100)
commita92f990303a2815062f67c9e49c0caba47e2ab02
treeab84852ae04cefecb140b65ad393092f60865730
parenta931f635a61e63a2901ba3f2846df80a265bcf08
ipvs: fix matching of fwmark templates during scheduling

Commit beeec49c714977e63d49c18aa9250276950ef473 (2.6.37)
moved the fwmark variable in subcontext that is invalidated before
reaching the ip_vs_ct_in_get call. As vaddr is provided as pointer
in the param structure make sure the fwmark variable is in
same context. As the fwmark templates can not be matched,
more and more template connections are created and the
controlled connections can not go to single real server.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Cc: stable@vger.kernel.org
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_core.c