]> err.no Git - linux-2.6/commit
via-velocity: velocity_init_{rd/tx}_ring use kcalloc(..., GFP_KERNEL).
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 31 Jul 2008 20:51:18 +0000 (22:51 +0200)
committerFrancois Romieu <romieu@fr.zoreil.com>
Thu, 31 Jul 2008 21:08:06 +0000 (23:08 +0200)
commit3c4dc7115dfdb9e0450b7a3b0649948f5356d4af
tree48367c3315162265f225e87d6480e3bfeee4c84f
parent0fe9f15ee8bd652242a778ddfd30aa6d97a98e23
via-velocity: velocity_init_{rd/tx}_ring use kcalloc(..., GFP_KERNEL).

Allocate and free everyting outside of the locked section.

Spotted-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Fixed-by: Seguier Regis <rseguier@e-teleport.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/net/via-velocity.c