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>
This commit is contained in:

committed by
Pablo Neira Ayuso

parent
932bc4d7a5
commit
c90558dae5
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user