gre: used time_before for comparing jiffies
authorWei Yongjun <yjwei@cn.fujitsu.com>
Wed, 25 Feb 2009 07:34:48 +0000 (23:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Feb 2009 07:34:48 +0000 (23:34 -0800)
commitda6185d8743704bf7647c0aedaf8c7879d8f3cab
tree0d02bf7c2d308646fea12b2d5d617ada457e494c
parent800d55f146098c5ffd1914d7eef2fd4a6d558b1d
gre: used time_before for comparing jiffies

The functions time_before is more robust for comparing
jiffies against other values.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c