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 v6.0.7 by commit 846e677daf51220d7975c61a20e440a88473951e, it was introduced in version v4.16 by commit 533dd11a12f698c571a12271b20f235792d3e148. For more details please see the references link.