net: netsec: fix error handling in netsecregistermdio()
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.153 by commit 62f0a08e82a6312efd7df7f595c0b11d4ffde610, it was introduced in version v4.16 by commit 533dd11a12f698c571a12271b20f235792d3e148. For more details please see the references link.