Re: [PATCH] firewire: fix NULL derefencing in fwnet_probe()

2014-05-12 Thread Stefan Richter
On Apr 29 Daeseok Youn wrote: > "dev" and "net" are NULL when alloc_netdev() is failed. > So just unlock and return an error. > > Signed-off-by: Daeseok Youn Pushed to linux1394.git. Thank you. > --- > drivers/firewire/net.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH] firewire: fix NULL derefencing in fwnet_probe()

2014-05-12 Thread Stefan Richter
On Apr 29 Daeseok Youn wrote: dev and net are NULL when alloc_netdev() is failed. So just unlock and return an error. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com Pushed to linux1394.git. Thank you. --- drivers/firewire/net.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH] firewire: fix NULL derefencing in fwnet_probe()

2014-04-29 Thread Daeseok Youn
"dev" and "net" are NULL when alloc_netdev() is failed. So just unlock and return an error. Signed-off-by: Daeseok Youn --- drivers/firewire/net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index 4af0a7b..c398645

[PATCH] firewire: fix NULL derefencing in fwnet_probe()

2014-04-29 Thread Daeseok Youn
dev and net are NULL when alloc_netdev() is failed. So just unlock and return an error. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- drivers/firewire/net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index