mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-03-03 10:12:08 +00:00

"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>