From: Jiri Slaby Date: Tue, 16 Mar 2010 05:29:54 +0000 (+0000) Subject: NET: netpoll, fix potential NULL ptr dereference X-Git-Tag: v2.6.34-rc2~28^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21edbb223ed2af88b090e7945af7d91d672e3aa6;p=pandora-kernel.git NET: netpoll, fix potential NULL ptr dereference Stanse found that one error path in netpoll_setup dereferences npinfo even though it is NULL. Avoid that by adding new label and go to that instead. Signed-off-by: Jiri Slaby Cc: Daniel Borkmann Cc: David S. Miller Acked-by: chavey@google.com Acked-by: Matt Mackall Signed-off-by: David S. Miller --- Reading git-diff-tree failed