Francesco Ruggeri <fruggeri@xxxxxxxxxx> wrote: > If a non zero value happens to be in xt[NFPROTO_BRIDGE].cur at > init time, the following panic can be caused by running > % ebtables -t broute -F BROUTING > from a 32-bit user level on a 64-bit kernel. > This patch replaces kmalloc_array with kcalloc when allocating xt. > > v2: use kcalloc when creating xt instead of zeroing out individual fields. Thanks a lot for this fix! Acked-by: Florian Westphal <fw@xxxxxxxxx>