[U-Boot] [PATCH] net: cpsw: ti: Reap completed packets before stopping interface

Joe Hershberger joe.hershberger at ni.com
Wed May 16 19:24:45 UTC 2018


On Sat, May 12, 2018 at 2:30 AM, Alex Kiernan <alex.kiernan at gmail.com> wrote:
> If you send a final packet just before stopping the interface (e.g. a final
> ACK as part of the UDP fastboot protocol), then that packet isn't reliably
> delivered onto the wire.
>
> Reap packets prior to stopping the interface to ensure any which are
> in-flight make it out. Also remove buffer and len from the call to
> cpdma_process() as we weren't using them on their return.
>
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list