# Re: \[PATCH\] mac80211: aes\_ccm: move struct aead\_req off the stack

- List: netdev
- 1 message, 1 author
- Page: https://ratatoskr.run/netdev/2016/10/4853583/t

## Re: \[PATCH\] mac80211: aes\_ccm: move struct aead\_req off the stack

- From: Johannes Berg \<johannes@sipsolutions.net\>
- Date: 2016-10-14 13:13:09 
- Message: https://ratatoskr.run/netdev/2016/10/4853583.md

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