From: stephen hemminger Date: Mon, 14 Mar 2011 07:52:13 +0000 (+0000) Subject: tcp_cubic: fix comparison of jiffies X-Git-Tag: v2.6.39-rc1~468^2~19^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c54b4b7655447c1f24f6d50779c22eba9ee0fd24;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed