lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150413212552.GB2812@kroah.com>
Date:	Mon, 13 Apr 2015 23:25:52 +0200
From:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:	Thomas Gleixner <tglx@...utronix.de>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...nel.org>,
	Shigekatsu Tateno <shigekatsu.tateno@...el.com>,
	devel@...verdev.osuosl.org
Subject: Re: [patch 5/5] staging: ozwpan: Fix hrtimer wreckage

On Mon, Apr 13, 2015 at 09:02:25PM -0000, Thomas Gleixner wrote:
> oz_timer_add() modifies the expiry value of an active timer, which
> results in data corruption.
> 
> Use hrtimer_start() and remove the silly conditional.
> 
> While at it use the proper helper function to convert milliseconds to
> ktime.
> 
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: Shigekatsu Tateno <shigekatsu.tateno@...el.com>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: devel@...verdev.osuosl.org
> ---
>  drivers/staging/ozwpan/ozproto.c |   17 ++++-------------
>  1 file changed, 4 insertions(+), 13 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ