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 v6.0.12 by commit f3add2b8cf620966de3ebfa07679ca12d33ec26f, it was introduced in version v3.13 by commit f421436a591d34fa5279b54a96ac07d70250cc8d. For more details please see the references link.