From: Vasiliy Kulikov <segoon@xxxxxxxxxxxx> Date: Thu, 18 Nov 2010 21:17:05 +0300 > alloc_netdev() is not checked here for NULL return value. dev is > check instead. It might lead to NULL dereference of ndev. > > Signed-off-by: Vasiliy Kulikov <segoon@xxxxxxxxxxxx> > --- > Compile tested. > Maybe dev is also must be checked here, but it looks like a trivial typo. Definitely looks correct to me, applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html