diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-04-29 11:49:47 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2014-05-12 14:35:31 +0200 |
commit | 1118f8d048dd595efbadf05e8bca4e19684ffb4d (patch) | |
tree | af6b68e21a76f9d077f6b01d62d59bfee25ee079 /drivers/devfreq | |
parent | Linux 3.15-rc5 (diff) | |
download | linux-1118f8d048dd595efbadf05e8bca4e19684ffb4d.tar.xz linux-1118f8d048dd595efbadf05e8bca4e19684ffb4d.zip |
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 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions