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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200905010636.36778.dmitry.torokhov@gmail.com>
Date:	Fri, 1 May 2009 06:36:36 -0700
From:	Dmitry Torokhov <dmitry.torokhov@...il.com>
To:	Johannes Berg <johannes@...solutions.net>
Cc:	Bob Copeland <me@...copeland.com>, linux-input@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] appletouch: fix DMA to/from stack buffer

On Tue, Apr 28, 2009 at 10:44:54AM +0200, Johannes Berg wrote:
> On Mon, 2009-04-27 at 21:58 -0400, Bob Copeland wrote:
> > CONFIG_DMA_API_DEBUG spotted an instance of appletouch using
> > an array on the stack as a DMA buffer for certain hardware.
> > Change it to use a kmalloc()ed buffer instead.
> > 
> > This fixes the following error:
> 
> > Signed-off-by: Bob Copeland <me@...copeland.com>
> 
> Reviewed-by: Johannes Berg <johannes@...solutions.net>
> 
> Interestingly, I first thought the GFP_KERNEL is wrong due to
> atp_reinit, but the GFP_ATOMIC in that is wrong instead :)
> 

Applied to 'for-linus' branch, thank you.

-- 
Dmitry

--
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