ipvs: avoid routing by TOS for real server
authorJulian Anastasov <ja@ssi.bg>
Thu, 21 Mar 2013 09:57:59 +0000 (11:57 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:37 +0000 (00:23 +0200)
commitc90558dae51cef334f3d9d447cf7c0fd1bfe725d
tree040df6358bf1aecc76d5cae100ca0bc3dcf81f3c
parent932bc4d7a53ba418de67fdab533248df5b36c752
ipvs: avoid routing by TOS for real server

Avoid replacing the cached route for real server
on every packet with different TOS. I doubt that routing
by TOS for real server is used at all, so we should be
better with such optimization.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_xmit.c