Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936003AbcJQVD4 (ORCPT ); Mon, 17 Oct 2016 17:03:56 -0400 Received: from mail-vk0-f54.google.com ([209.85.213.54]:34014 "EHLO mail-vk0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935780AbcJQVDn (ORCPT ); Mon, 17 Oct 2016 17:03:43 -0400 MIME-Version: 1.0 In-Reply-To: <1709183.xhj4cRUFK9@tauon.atsec.com> References: <4169224b6858d1cf149f1a73f8a03603fa19076d.1476638125.git.luto@kernel.org> <2711337.nAU4qxUyQs@tauon.atsec.com> <1709183.xhj4cRUFK9@tauon.atsec.com> From: Andy Lutomirski Date: Mon, 17 Oct 2016 14:03:17 -0700 Message-ID: Subject: Re: [PATCH resend 4.9] hw_random: Don't use a stack buffer in add_early_randomness() To: Stephan Mueller Cc: Andy Lutomirski , linux-crypto@vger.kernel.org, "linux-kernel@vger.kernel.org" , Matt Mackall , Herbert Xu , Rusty Russell , Jens Axboe , Matt Mullins Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 520 Lines: 15 On Mon, Oct 17, 2016 at 11:36 AM, Stephan Mueller wrote: > Am Montag, 17. Oktober 2016, 10:30:13 CEST schrieb Andy Lutomirski: > > Hi Andy, >> >> Sure, but shouldn't that be a separate patch covering the whole hw_crypto >> core? > > I think that you are right -- there are many more cases where a memset(0) is > warranted. > > Do you want to make this change or should I send a patch? Can you do it? I have my work cut out for me making sure that all the known regressions get stomped quickly...