[U-Boot] [PATCH 2/2] net: designware: clear padding bytes
Joe Hershberger
joe.hershberger at ni.com
Sat Nov 17 16:03:44 UTC 2018
On Sat, Nov 17, 2018 at 3:26 AM Simon Goldschmidt
<simon.k.r.goldschmidt at gmail.com> wrote:
>
> Short frames are padded to the minimum allowed size of 60 bytes.
> However, the designware driver sends old data in these padding bytes.
> It is common practice to zero out these padding bytes ro prevent
> leaking memory contents to other hosts.
>
> Fix the padding code to zero out the padded bytes at the end.
>
> Tested on socfpga gen5.
>
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot
mailing list