From: Thomas Gleixner Date: Wed, 13 Feb 2008 08:20:43 +0000 (+0100) Subject: hrtimer: check relative timeouts for overflow X-Git-Tag: v2.6.25-rc2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a7780e725d1bb4c3094fcc12f1c5c5faea1e988;p=pandora-kernel.git hrtimer: check relative timeouts for overflow Various user space callers ask for relative timeouts. While we fixed that overflow issue in hrtimer_start(), the sites which convert relative user space values to absolute timeouts themself were uncovered. Instead of putting overflow checks into each place add a function which does the sanity checking and convert all affected callers to use it. Thanks to Frans Pop, who reported the problem and tested the fixes. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Tested-by: Frans Pop --- Reading git-diff-tree failed