* [merged] rtc-limit-frequency.patch removed from -mm tree
@ 2011-07-27 19:27 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2011-07-27 19:27 UTC (permalink / raw)
To: tglx, greearb, john.stultz, mingo, stable, mm-commits
The patch titled
rtc: limit frequency
has been removed from the -mm tree. Its filename was
rtc-limit-frequency.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: rtc: limit frequency
From: Thomas Gleixner <tglx@linutronix.de>
Due to the hrtimer self rearming mode a user can DoS the machine simply
because it's starved by hrtimer events.
The RTC hrtimer is self rearming. We really need to limit the frequency
to something sensible.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ben Greear <greearb@candelatech.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/rtc/interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/rtc/interface.c~rtc-limit-frequency drivers/rtc/interface.c
--- a/drivers/rtc/interface.c~rtc-limit-frequency
+++ a/drivers/rtc/interface.c
@@ -688,7 +688,7 @@ int rtc_irq_set_freq(struct rtc_device *
int err = 0;
unsigned long flags;
- if (freq <= 0)
+ if (freq <= 0 || freq > 5000)
return -EINVAL;
spin_lock_irqsave(&rtc->irq_task_lock, flags);
_
Patches currently in -mm which might be from tglx@linutronix.de are
origin.patch
linux-next.patch
kernel-timec-change-jiffies_to_clock_t-input-parameters-type-to-unsigned-long.patch
kernel-timec-change-jiffies_to_clock_t-input-parameters-type-to-unsigned-long-fix.patch
x86-fix-mmap-random-address-range.patch
leds-new-pcengines-alix-system-driver-enables-leds-via-gpio-interface.patch
arch-x86-kernel-e820c-eliminate-bubble-sort-from-sanitize_e820_map.patch
genirq-fix-missing-parenthesises-in-generic-chip.patch
cross-memory-attach-v3.patch
hpet-factor-timer-allocate-from-open.patch
memblock-add-input-size-checking-to-memblock_find_region.patch
memblock-add-input-size-checking-to-memblock_find_region-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-27 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27 19:27 [merged] rtc-limit-frequency.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.