net: dsa: replace count*size kmalloc by kmalloc_array
authorFabian Frederick <fabf@skynet.be>
Fri, 14 Nov 2014 18:36:42 +0000 (19:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2014 19:41:39 +0000 (14:41 -0500)
commit5bc4b46a70eab74d642c726d99433166d3f65e45
treee3f0c57d4f8a3f5299d1eaeae9644f8e7e516f9d
parentf35423c137b0e64155f52c166db1d13834a551f2
net: dsa: replace count*size kmalloc by kmalloc_array

kmalloc_array manages count*sizeof overflow.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c