Re: [PATCH 1/1] NET: ipv6, remove unnecessary check

From: David Miller
Date: Sun Jan 10 2010 - 16:28:07 EST


From: Jiri Slaby <jslaby@xxxxxxx>
Date: Sun, 10 Jan 2010 11:43:03 +0100

> Stanse found a potential null dereference in snmp6_unregister_dev.
> There is a check for idev being NULL, but it is dereferenced
> earlier. But idev cannot be NULL when passed to
> snmp6_unregister_dev, so remove the test.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>

Applied.
--
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/