Re: [PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-16 Thread David Miller
From: Marcel Holtmann Date: Sat, 15 Nov 2014 16:58:28 +0900 > Dave, do you want to just take it via net-stable tree? We currently > have no urgent bluetooth-stable tree patches pending. Yeah I can do that, applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the

Re: [PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-16 Thread David Miller
From: Marcel Holtmann mar...@holtmann.org Date: Sat, 15 Nov 2014 16:58:28 +0900 Dave, do you want to just take it via net-stable tree? We currently have no urgent bluetooth-stable tree patches pending. Yeah I can do that, applied and queued up for -stable, thanks. -- To unsubscribe from this

Re: [PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-14 Thread Marcel Holtmann
Hi Alex, >> In case of any failure ieee802154fake_probe() just calls unregister_netdev(). >> But it does not look safe to unregister netdevice before it was registered. >> >> The patch implements straightforward resource deallocation in case of >> failure in ieee802154fake_probe(). >> >> Found

Re: [PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-14 Thread Alexander Aring
Hi, On Sat, Nov 15, 2014 at 02:11:59AM +0300, Alexey Khoroshilov wrote: > In case of any failure ieee802154fake_probe() just calls unregister_netdev(). > But it does not look safe to unregister netdevice before it was registered. > > The patch implements straightforward resource deallocation in

[PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-14 Thread Alexey Khoroshilov
In case of any failure ieee802154fake_probe() just calls unregister_netdev(). But it does not look safe to unregister netdevice before it was registered. The patch implements straightforward resource deallocation in case of failure in ieee802154fake_probe(). Found by Linux Driver Verification

[PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-14 Thread Alexey Khoroshilov
In case of any failure ieee802154fake_probe() just calls unregister_netdev(). But it does not look safe to unregister netdevice before it was registered. The patch implements straightforward resource deallocation in case of failure in ieee802154fake_probe(). Found by Linux Driver Verification

Re: [PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-14 Thread Alexander Aring
Hi, On Sat, Nov 15, 2014 at 02:11:59AM +0300, Alexey Khoroshilov wrote: In case of any failure ieee802154fake_probe() just calls unregister_netdev(). But it does not look safe to unregister netdevice before it was registered. The patch implements straightforward resource deallocation in case

Re: [PATCH] ieee802154: fix error handling in ieee802154fake_probe()

2014-11-14 Thread Marcel Holtmann
Hi Alex, In case of any failure ieee802154fake_probe() just calls unregister_netdev(). But it does not look safe to unregister netdevice before it was registered. The patch implements straightforward resource deallocation in case of failure in ieee802154fake_probe(). Found by Linux