[PATCH 5.10 33/43] net: dsa: clear devlink port type before unregistering slave netdevs