Re: [PATCH net-next v7] net: hsr: require valid EOT supervision TLV
From: Fernando Fernandez Mancera
Date: Sat May 23 2026 - 12:38:51 EST
On 5/23/26 3:04 PM, luka.gejak@xxxxxxxxx wrote:
From: Luka Gejak <luka.gejak@xxxxxxxxx>
Supervision frames are only valid if terminated with a zero-length EOT
TLV. The current check fails to reject non-EOT entries as the terminal
TLV, potentially allowing malformed supervision traffic.
Fix this by strictly requiring the terminal TLV to be HSR_TLV_EOT with
a length of zero.
Assisted-by: Gemini:Gemini-3.1-flash
Signed-off-by: Luka Gejak <luka.gejak@xxxxxxxxx>
Reviewed-by: Fernando Fernandez Mancera <fmancera@xxxxxxx>