summaryrefslogtreecommitdiff
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2013-03-21 13:57:59 +0400
committerPablo Neira Ayuso <pablo@netfilter.org>2013-04-02 02:23:37 +0400
commitc90558dae51cef334f3d9d447cf7c0fd1bfe725d (patch)
tree040df6358bf1aecc76d5cae100ca0bc3dcf81f3c /include/net/ip_vs.h
parent932bc4d7a53ba418de67fdab533248df5b36c752 (diff)
downloadlinux-c90558dae51cef334f3d9d447cf7c0fd1bfe725d.tar.xz
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>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index bee87badabef..64db11769cc2 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -753,7 +753,6 @@ struct ip_vs_dest {
/* for destination cache */
spinlock_t dst_lock; /* lock of dst_cache */
struct dst_entry *dst_cache; /* destination cache entry */
- u32 dst_rtos; /* RT_TOS(tos) for dst */
u32 dst_cookie;
union nf_inet_addr dst_saddr;