net: dsa: Fix possible memory leaks in dsaloopinit()
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.154 by commit 37a098fc9b42bd7fce66764866aa514639667b6e, it was introduced in version v4.12 by commit 98cd1552ea27e512c7e99e2aa76042a26e4fb25c. For more details please see the references link.