Re: [PATCH 1/1 net-next] net: dsa: replace count*size kmalloc by kmalloc_array
From: David Miller
Date: Sun Nov 16 2014 - 14:44:03 EST
From: Fabian Frederick <fabf@xxxxxxxxx>
Date: Fri, 14 Nov 2014 19:36:42 +0100
> kmalloc_array manages count*sizeof overflow.
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Applied, and yes I read Joe's feedback and the rest of this thread
wrt. sizeof(u8/s8). That can be done as a followup.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/