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