]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP] tcp-lp: prevent chance for oops
authorWong Hoi Sing Edison <hswong3i@gmail.com>
Thu, 28 Sep 2006 21:40:21 +0000 (14:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:03:07 +0000 (18:03 -0700)
commit3a02095b903631cb71868dcab7b3d56c49b74e83
treec447c1787942fcc9d2b4c6b7404ca75104984c70
parentcfce297776958f36de40a2b9d3b4ed04b61cd71f
[TCP] tcp-lp: prevent chance for oops

This patch fix the chance for tcp_lp_remote_hz_estimator return 0, if
0 < rhz < 64. It also make sure the flag LP_VALID_RHZ is set
correctly.

Signed-off-by: Wong Hoi Sing Edison <hswong3i@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_lp.c