I must have missed it. The only suggestion that I remember was referring
to how to generate patch using git email. As for technical discussion,
it was ended as "not endianess clean".

Greg Ren


-----Original Message-----
From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] 
Sent: Tuesday, December 08, 2009 3:43 PM
To: Greg Ren
Cc: u-boot@lists.denx.de; Wolfgang Denk
Subject: Re: [U-Boot] [PATCH]Fix checksum to handle odd-length packet

>
> Ah. I just realize that the endianess can be supported as simple as:
>
> In stead of this:
>                xsum += (*p & 0xff00);
> Use this:
>                xsum += (*p & ntohs(0xff00));

Did you look at the suggestion I sent you?
I know it works because I use in ospf.

 Jocke

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to