Re: Regarding kern/73852, please help to apply the patch thus we can close this bug.

From: Cai, Quanqing <caiquanqing_at_gmail.com>
Date: Wed, 12 Oct 2005 11:50:57 -0700
Forget to mention that my test machines, one is 7.0-CURRENT, another one is
FreeBSD 6.0-RC1. So I think we can MFC to 6.x too.

Cai, Quanqing


On 10/12/05, Cai, Quanqing <caiquanqing_at_gmail.com> wrote:
>
> Hi guys,
>
> I noticed there is bug filed by KIYOHARA Takashi <kiyohara_at_kk.iij4u.or.jp>
> with a patch, link is here:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/73852, I tested if_fwip
> with this patch, it works great for me. When we switch byte-order two times
> on i386, the byte-order will back to original. if you look at the files
> src/lib/libc/i386/net/ntohl.S and src/lib/libc/i386/net/htonl.S, you will
> find exact same code:
>
> movl 4(%esp),%eax
> bswap %eax
> ret
>
> This tells everything.
>
> So I hope somebody can apply the patch made by KIYOHARA Takashi and close
> this bug.
>
> Thanks
> Cai, Quanqing
Received on Wed Oct 12 2005 - 16:50:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC