[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160920172416.GS8920@oracle.com>
Date: Tue, 20 Sep 2016 13:24:16 -0400
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
To: Jiri Benc <jbenc@...hat.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
hannes@...essinduktion.org, aduyck@...antis.com,
daniel@...earbox.net, pabeni@...hat.com
Subject: Re: [PATCH net-next] net/vxlan: Avoid unaligned access in
vxlan_build_skb()
On (09/20/16 19:09), Jiri Benc wrote:
>
> But the point stands, we have much greater problems here than VXLAN.
> And I don't think that wrapping all IP address accesses into
> get/put_unaligned all around the stack is the solution.
>
Agreed, and I think Tom made that point too.
For the immediate pain, Hannes' suggestion of making vxlanhdr
__packed takes care of the noise from vxlan_build_skb, so I will
spin out a v2 that takes care of this one, at least.
--Sowmini
Powered by blists - more mailing lists