Re: [PATCH][net-next] net: wireguard: Use kvcalloc() instead of kvzalloc()
From: Jason A. Donenfeld
Date: Tue Sep 28 2021 - 18:35:25 EST
Hi Gustavo,
table_size never exceeds 8192, so there's really not an issue with
integer overflow here. However, I checked the codegen of before/after
this patch, and it looks like gcc realizes this too, and so elides
them to be basically the same. So I'll apply this to the
wireguard-linux tree. Thanks for the patch.
Jason