net: hsr: Fix potential use-after-free
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.158 by commit 7ca81a161e406834a1fdc405fc83a572bd14b8d9, it was introduced in version v3.13 by commit f421436a591d34fa5279b54a96ac07d70250cc8d. For more details please see the references link.