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