commit | c54b4b7655447c1f24f6d50779c22eba9ee0fd24 | [log] [tgz] |
---|---|---|
author | stephen hemminger <shemminger@vyatta.com> | Mon Mar 14 07:52:13 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 14 15:54:38 2011 -0700 |
tree | 42178e794fafe36de1a00607b28363e1fe8da3f2 | |
parent | febf081987ec445f071ed10b73e9707a88cc5cc4 [diff] |
tcp_cubic: fix comparison of jiffies Jiffies wraps around therefore the correct way to compare is to use cast to signed value. Note: cubic is not using full jiffies value on 64 bit arch because using full unsigned long makes struct bictcp grow too large for the available ca_priv area. Includes correction from Sangtae Ha to improve ack train detection. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>