[PATCH 5.10 2/7] net: make free_netdev() more lenient with unregistering devices