commit | 21edbb223ed2af88b090e7945af7d91d672e3aa6 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Tue Mar 16 05:29:54 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 16 14:15:45 2010 -0700 |
tree | b159ba512fdbdfe92d896a77109e7c0dadd36f87 | |
parent | a2f46ee1ba5ee249ce2ca1ee7a7a0ac46529fb4f [diff] |
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 <jslaby@suse.cz> Cc: Daniel Borkmann <danborkmann@googlemail.com> Cc: David S. Miller <davem@davemloft.net> Acked-by: chavey@google.com Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: David S. Miller <davem@davemloft.net>