diff options
| author | Thomas Gleixner <[email protected]> | 2010-03-12 16:34:14 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2010-03-12 18:10:29 +0000 |
| commit | 80a05b9ffa7dc13f6693902dd8999a2b61a3a0d7 (patch) | |
| tree | 5612eeb26804b135de66779d1a00eaf35a4ceca1 /net/lapb/lapb_subr.c | |
| parent | timekeeping: Prevent oops when GENERIC_TIME=n (diff) | |
| download | kernel-80a05b9ffa7dc13f6693902dd8999a2b61a3a0d7.tar.gz kernel-80a05b9ffa7dc13f6693902dd8999a2b61a3a0d7.zip | |
clockevents: Sanitize min_delta_ns adjustment and prevent overflows
The current logic which handles clock events programming failures can
increase min_delta_ns unlimited and even can cause overflows.
Sanitize it by:
- prevent zero increase when min_delta_ns == 1
- limiting min_delta_ns to a jiffie
- bail out if the jiffie limit is hit
- add retries stats for /proc/timer_list so we can gather data
Reported-by: Uwe Kleine-Koenig <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
