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