summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-02-13 23:58:36 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2008-02-14 21:08:30 (GMT)
commit63070a79ba482c274bad10ac8c4b587a3e011f2c (patch)
tree1ecb5e104d343d3e533b2469c54e6a1bcb19a9ac /net
parent5a7780e725d1bb4c3094fcc12f1c5c5faea1e988 (diff)
downloadlinux-63070a79ba482c274bad10ac8c4b587a3e011f2c.tar.xz
hrtimer: catch expired CLOCK_REALTIME timers early
A CLOCK_REALTIME timer, which has an absolute expiry time less than the clock realtime offset calls with a negative delta into the clock events code and triggers the WARN_ON() there. This is a false positive and needs to be prevented. Check the result of timer->expires - timer->base->offset right away and return -ETIME right away. Thanks to Frans Pop, who reported the problem and tested the fixes. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Frans Pop <elendil@planet.nl>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions