Re: [U-Boot] [PATCH 2/2] net: designware: clear padding bytes

2018-11-24 Thread Simon Goldschmidt
On 17.11.2018 17:03, Joe Hershberger wrote: On Sat, Nov 17, 2018 at 3:26 AM Simon Goldschmidt 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

Re: [U-Boot] [PATCH 2/2] net: designware: clear padding bytes

2018-11-17 Thread Joe Hershberger
On Sat, Nov 17, 2018 at 3:26 AM Simon Goldschmidt 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

[U-Boot] [PATCH 2/2] net: designware: clear padding bytes

2018-11-17 Thread Simon Goldschmidt
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