Messages in this thread | | | From | "Jason A. Donenfeld" <> | Date | Tue, 28 Sep 2021 16:35:07 -0600 | Subject | Re: [PATCH][net-next] net: wireguard: Use kvcalloc() instead of kvzalloc() |
| |
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
| |