summaryrefslogtreecommitdiffstats
path: root/net/irda/parameters.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2009-05-19 18:54:22 +0000
committerDavid S. Miller <davem@davemloft.net>2009-05-20 17:18:01 -0700
commitcf8da764fc6959b7efb482f375dfef9830e98205 (patch)
tree701e4c42f6563cdb50153485015f0c4b439294ec /net/irda/parameters.c
parentbc8a5397433e4effbaddfa7e462d10b3c060cabb (diff)
downloadop-kernel-dev-cf8da764fc6959b7efb482f375dfef9830e98205.zip
op-kernel-dev-cf8da764fc6959b7efb482f375dfef9830e98205.tar.gz
net: fix length computation in rt_check_expire()
rt_check_expire() computes average and standard deviation of chain lengths, but not correclty reset length to 0 at beginning of each chain. This probably gives overflows for sum2 (and sum) on loaded machines instead of meaningful results. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/parameters.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud