summaryrefslogtreecommitdiffstats
path: root/net/mac802154
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-05-12 10:12:29 +0200
committerThomas Gleixner <tglx@linutronix.de>2014-05-12 10:47:39 +0200
commit84ea7fe37908254c3bd90910921f6e1045c1747a (patch)
tree8ff89c82bd3db23a9e260a8458af7fe053a701b1 /net/mac802154
parentLinux 3.15-rc5 (diff)
downloadlinux-84ea7fe37908254c3bd90910921f6e1045c1747a.tar.xz
linux-84ea7fe37908254c3bd90910921f6e1045c1747a.zip
hrtimer: Set expiry time before switch_hrtimer_base()
switch_hrtimer_base() calls hrtimer_check_target() which ensures that we do not migrate a timer to a remote cpu if the timer expires before the current programmed expiry time on that remote cpu. But __hrtimer_start_range_ns() calls switch_hrtimer_base() before the new expiry time is set. So the sanity check in hrtimer_check_target() is operating on stale or even uninitialized data. Update expiry time before calling switch_hrtimer_base(). [ tglx: Rewrote changelog once again ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: linaro-kernel@lists.linaro.org Cc: linaro-networking@linaro.org Cc: fweisbec@gmail.com Cc: arvind.chauhan@arm.com Link: http://lkml.kernel.org/r/81999e148745fc51bbcd0615823fbab9b2e87e23.1399882253.git.viresh.kumar@linaro.org Cc: stable@vger.kernel.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/mac802154')
0 files changed, 0 insertions, 0 deletions