net: dsa: improve shutdown sequence (CVE-2024-49998) | HOL Guard CVE