diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-04-29 18:49:47 +0900 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2014-05-12 14:35:31 +0200 |
commit | 1118f8d048dd595efbadf05e8bca4e19684ffb4d (patch) | |
tree | af6b68e21a76f9d077f6b01d62d59bfee25ee079 /init | |
parent | d6d211db37e75de2ddc3a4f979038c40df7cc79c (diff) | |
download | op-kernel-dev-1118f8d048dd595efbadf05e8bca4e19684ffb4d.zip op-kernel-dev-1118f8d048dd595efbadf05e8bca4e19684ffb4d.tar.gz |
firewire: net: fix NULL derefencing in fwnet_probe()
"dev" and "net" are NULL when alloc_netdev() is failed.
So just unlock and return an error.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions