[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1476450678.31114.43.camel@sipsolutions.net>
Date: Fri, 14 Oct 2016 15:11:18 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Ard Biesheuvel <ard.biesheuvel@...aro.org>, luto@...capital.net,
sergey.senozhatsky.work@...il.com, netdev@...r.kernel.org,
herbert@...dor.apana.org.au, davem@...emloft.net,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
j@...fi
Subject: Re: [PATCH] mac80211: aes_ccm: move struct aead_req off the stack
On Fri, 2016-10-14 at 15:10 +0200, Johannes Berg wrote:
> >
> > So use kzalloc
>
> Do we really need kzalloc()? We have things on the stack right now,
> and don't initialize, so surely we don't really need to zero things?
Err, never mind, I'm an idiot - we *do* initialize to 0, of course.
johannes
Powered by blists - more mailing lists