Re: [PATCH 1/2 v2] net: hsr: fix incorrect lsdu size in the tag of HSR frames for small frames

From: David Miller
Date: Fri Jul 17 2020 - 21:55:03 EST


From: Murali Karicheri <m-karicheri2@xxxxxx>
Date: Fri, 17 Jul 2020 10:55:09 -0400

> For small Ethernet frames with size less than minimum size 66 for HSR
> vs 60 for regular Ethernet frames, hsr driver currently doesn't pad the
> frame to make it minimum size. This results in incorrect LSDU size being
> populated in the HSR tag for these frames. Fix this by padding the frame
> to the minimum size applicable for HSR.
>
> Signed-off-by: Murali Karicheri <m-karicheri2@xxxxxx>

Applied.