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
l.edu/
Email: t...@ece.ufl.edu
Phone: (352) 846 0202
From: David Miller
Sent: Tuesday, February 5, 2019 7:36 PM
To: Yavuz, Tuba
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH]: net: hso: do not call unregister if not registered
From: "Yavuz, Tuba"
From: "Yavuz, Tuba"
Date: Tue, 5 Feb 2019 23:01:25 +
>
>
> 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
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