net: convert lls to use time_in_range()
authorEliezer Tamir <eliezer.tamir@linux.intel.com>
Tue, 2 Jul 2013 20:22:47 +0000 (23:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2013 22:53:53 +0000 (15:53 -0700)
commit1bc2774d866444c5b316fd1dc2b782f20c762cf4
treedfadce12c9f45c80cd372b27456151be000c8aee
parent7e6d4da837385d9aa2e5fd84e0a6042cddc9e708
net: convert lls to use time_in_range()

Time in range will fail safely if we move to a different cpu with an
extremely large clock skew.
Add time_in_range64() and convert lls to use it.

changelog:
v2
- fixed double call to sched_clock in can_poll_ll
- fixed checkpatchisms

Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/select.c
include/linux/jiffies.h
include/net/ll_poll.h