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