diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-03-16 06:29:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-16 22:15:45 +0100 |
commit | 21edbb223ed2af88b090e7945af7d91d672e3aa6 (patch) | |
tree | b159ba512fdbdfe92d896a77109e7c0dadd36f87 /crypto | |
parent | tipc: fix lockdep warning on address assignment (diff) | |
download | linux-21edbb223ed2af88b090e7945af7d91d672e3aa6.tar.xz linux-21edbb223ed2af88b090e7945af7d91d672e3aa6.zip |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions