This reverts commit
65e4113684e50cee75357ce10dc9026b0929e4e9.
Unlike the other cases Pavel fixed, this case did not
setup a netdev->destructor of free_netdev, therefore this
change was not correct.
Signed-off-by: David S. Miller <davem@davemloft.net>
list_del(&brdev->br2684_devs);
write_unlock_irq(&devs_lock);
unregister_netdev(net_dev);
+ free_netdev(net_dev);
}
return;
}
list_del(&brdev->br2684_devs);
unregister_netdev(net_dev);
+ free_netdev(net_dev);
}
}