[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080414.143832.10983998.yoshfuji@wide.ad.jp>
Date: Mon, 14 Apr 2008 14:38:32 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...e.ad.jp>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, yoshfuji@...e.ad.jp
Subject: Re: [PATCH net-2.6] [IPV6] MIP6: Ensure independence from
alignment.
In article <20080413.222629.180789339.davem@...emloft.net> (at Sun, 13 Apr 2008 22:26:29 -0700 (PDT)), David Miller <davem@...emloft.net> says:
> From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@...ux-ipv6.org>
> Date: Wed, 09 Apr 2008 00:46:32 +0900 (JST)
>
> > We cannot rely on sizeof(struct ipv6_opt_hdr) when we are handling
> > wire format, because it may not be 2 but 4 on some architectures.
> > On such a architecture, the result can be different from what we
> > actually expect.
> >
> > Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
>
> Please just mark the structure with "packed" attribute.
Sure!
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists