[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140331174513.0613ac52@nehalam.linuxnetplumber.net>
Date: Mon, 31 Mar 2014 17:45:13 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Atzm Watanabe <atzm@...atosphere.co.jp>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] vxlan: fix handling of the inner 8021Q tagged
frame
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.
--
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