sctp: use time_before or time_after for comparing jiffies
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 2 Mar 2009 09:46:13 +0000 (09:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 06:49:18 +0000 (22:49 -0800)
commitf61f6f82c90cbaa85270f26b89e3309a8c6e2e88
tree973fd185d1540014322153ba1b3fc8273590d8d6
parentc6db93a58f1745cfe1acc2e1a1d68afc3245eced
sctp: use time_before or time_after for comparing jiffies

The functions time_before or time_after are more robust
for comparing jiffies against other values.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/outqueue.c
net/sctp/transport.c