diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2020-07-17 17:55:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-18 04:54:37 +0300 |
commit | 6d6148bc78d2f002ecc67b801c5f55a0cc5184c8 (patch) | |
tree | 4ee4ac51a263667a037b62d6013b2b5605e9ca71 /net/hsr/hsr_framereg.c | |
parent | 7f5f81406e2b36785f1e25fe5209edd9dd3610d7 (diff) | |
download | linux-6d6148bc78d2f002ecc67b801c5f55a0cc5184c8.tar.xz |
net: hsr: fix incorrect lsdu size in the tag of HSR frames for small frames
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@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/hsr_framereg.c')
0 files changed, 0 insertions, 0 deletions