On 01/24/2017 09:39 AM, David Miller wrote:
> From: Florian Fainelli
> Date: Sat, 21 Jan 2017 09:40:54 -0800
>
>> of_find_net_device_by_node() just returns a reference to a net_device but
>> does
>> not increment its reference count, which means that the master network device
>> can just vanish
On 01/24/2017 09:39 AM, David Miller wrote:
> From: Florian Fainelli
> Date: Sat, 21 Jan 2017 09:40:54 -0800
>
>> of_find_net_device_by_node() just returns a reference to a net_device but
>> does
>> not increment its reference count, which means that the master network device
>> can just vanish
From: Florian Fainelli
Date: Sat, 21 Jan 2017 09:40:54 -0800
> of_find_net_device_by_node() just returns a reference to a net_device but does
> not increment its reference count, which means that the master network device
> can just vanish under our feet.
>
> Fixes: 83c0afaec7b7 ("net: dsa: Add