Le 17/02/2016 18:19, Florian Fainelli a écrit :
> With commit 0071f56e46da ("dsa: Register netdev before phy"), we are now
> trying
> to unregister
s/unregister/free/...
a network device that has been previously registered, and in case
> of errors, this will make us hit the BUG_ON(dev->reg_stat
With commit 0071f56e46da ("dsa: Register netdev before phy"), we are now trying
to unregister a network device that has been previously registered, and in case
of errors, this will make us hit the BUG_ON(dev->reg_state !=
NETREG_UNREGISTERED) condition.
Fix this by adding a missing unregister_netd