[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87d2h11jwl.wl%atzm@stratosphere.co.jp>
Date: Tue, 01 Apr 2014 18:25:14 +0900
From: Atzm Watanabe <atzm@...atosphere.co.jp>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] vxlan: fix handling of the inner 8021Q tagged frame
Hi Stephen,
At Mon, 31 Mar 2014 17:45:13 -0700,
Stephen Hemminger wrote:
>
> On Mon, 31 Mar 2014 15:56:09 +0900
> Atzm Watanabe <atzm@...atosphere.co.jp> wrote:
>
> > +static u32 vxlan_key_hash(const struct vxlan_key *key)
> > {
> > - u64 value = get_unaligned((u64 *)addr);
>
> Assuming structures with only char's is 64 bit aligned is probably
> not safe on all architectures.
Thank you for the reviewing.
Ok, I'll use the get_unaligned().
--
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