[U-Boot] [PATCH v2 22/25] net: Fix incorrect DHCP/BOOTP packets on 64-bit systems

Simon Glass sjg at chromium.org
Wed Apr 8 14:47:11 CEST 2015


On 8 April 2015 at 00:41, Joe Hershberger <joe.hershberger at ni.com> wrote:
> From: Sergey Temerkhanov <s.temerkhanov at gmail.com>
>
> This commit fixes incorrect DHCP/BOOTP packet layout caused by
> 'ulong' type size difference on 64 and 32-bit architectures.
> It also renames NetReadLong()/NetCopyLong() to
> net_read_u32/net_copy_u32() accordingly.
>
>
> Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla at cavium.com>
> Signed-off-by: Sergey Temerkhanov <s.temerkhanov at gmail.com>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>
> Changes in v2: None
>
>  include/net.h | 10 +++++-----
>  net/bootp.c   | 33 ++++++++++++++++-----------------
>  net/bootp.h   |  4 ++--
>  3 files changed, 23 insertions(+), 24 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list