[PATCH 5.15 099/137] net: introduce a function to check if a netdev name is in use