[TCP]: TCP Compound quad root function
authorStephen Hemminger <shemminger@osdl.org>
Tue, 6 Jun 2006 00:29:39 +0000 (17:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:29:27 +0000 (21:29 -0700)
commita4ed25849532728effaa0665c92e08e029e41407
tree812c1da0f0052715ae07e3beb088344115c27daf
parentf890f921040fef6a35e39d15b729af1fd1a35f29
[TCP]: TCP Compound quad root function

The original code did a 64 bit divide directly, which won't work on
32 bit platforms.  Rather than doing a 64 bit square root twice,
just implement a 4th root function in one pass using Newton's method.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_compound.c