]> git.karo-electronics.de Git - linux-beck.git/commit
ipvs: unify the formula to estimate the overhead of processing connections
authorChangli Gao <xiaosuo@gmail.com>
Sat, 19 Feb 2011 09:32:28 +0000 (17:32 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 25 Feb 2011 02:35:41 +0000 (11:35 +0900)
commitb552f7e3a9524abcbcdf86f0a99b2be58e55a9c6
treeee31994b40078e0b04eb35e558141b7b3834edbd
parent17a8f8e3734920cf2f030f2fa521a0b940ef6f90
ipvs: unify the formula to estimate the overhead of processing connections

lc and wlc use the same formula, but lblc and lblcr use another one. There
is no reason for using two different formulas for the lc variants.

The formula used by lc is used by all the lc variants in this patch.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Wensong Zhang <wensong@linux-vs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_lblc.c
net/netfilter/ipvs/ip_vs_lblcr.c
net/netfilter/ipvs/ip_vs_lc.c
net/netfilter/ipvs/ip_vs_wlc.c