Re: [PATCH] net: hso: do not unregister if not registered

2019-02-09 Thread David Miller
From: "Yavuz, Tuba" Date: Sat, 9 Feb 2019 16:24:20 + > > > On an error path inside the hso_create_net_device function of the hso > driver, hso_free_net_device gets called. This causes potentially a > negative reference count in the net device if register_netdev has not > been called yet as

[PATCH] net: hso: do not unregister if not registered

2019-02-09 Thread Yavuz, Tuba
On an error path inside the hso_create_net_device function of the hso driver, hso_free_net_device gets called. This causes potentially a negative reference count in the net device if register_netdev has not been called yet as hso_free_net_device calls unregister_netdev regardless. I think the dr

Re: [PATCH] net: hso: do not unregister if not registered

2019-02-08 Thread David Miller
From: "Yavuz, Tuba" Date: Sat, 9 Feb 2019 00:02:56 + > I just resubmitted the patch and made sure to send it in > plaintext. Hopefully, it will work this time. That's not the problem. It's still corrupted. Your email client is formatting the text, and this makes the patch unusable. Specif

Re: [PATCH] net: hso: do not unregister if not registered

2019-02-08 Thread Yavuz, Tuba
I just resubmitted the patch and made sure to send it in plaintext. Hopefully, it will work this time. Best, Tuba From: David Miller Sent: Friday, February 8, 2019 6:08 PM To: Yavuz, Tuba Cc: netdev@vger.kernel.org Subject: Re: [PATCH] net: hso: do not

Re: [PATCH] net: hso: do not unregister if not registered

2019-02-08 Thread David Miller
From: "Yavuz, Tuba" Date: Wed, 6 Feb 2019 00:40:31 + > > On an error path inside the hso_create_net_device function of the hso > driver, hso_free_net_device gets called. This causes potentially a > negative reference count in the net device if register_netdev has not > been called yet as hso

[PATCH] net: hso: do not unregister if not registered

2019-02-05 Thread Yavuz, Tuba
On an error path inside the hso_create_net_device function of the hso driver, hso_free_net_device gets called. This causes potentially a negative reference count in the net device if register_netdev has not been called yet as hso_free_net_device calls unregister_netdev regardless. I think the dri