From: Jiri Benc <jbenc@redhat.com>
To: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net, hannes@stressinduktion.org
Subject: Re: [PATCH net-next V2] net/vxlan: Avoid unaligned access in vxlan_build_skb()
Date: Wed, 21 Sep 2016 11:43:13 +0200 [thread overview]
Message-ID: <20160921114313.07a43f14@griffin> (raw)
In-Reply-To: <20160920185737.GU8920@oracle.com>
On Tue, 20 Sep 2016 14:57:37 -0400, Sowmini Varadhan wrote:
> The vxlan header may not be aligned to 4 bytes in
> vxlan_build_skb (e.g., for MLD packets). This patch
> avoids unaligned access traps from vxlan_build_skb
> (in platforms like sparc) by making struct vxlanhdr __packed.
>
> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
next prev parent reply other threads:[~2016-09-21 9:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-20 18:57 [PATCH net-next V2] net/vxlan: Avoid unaligned access in vxlan_build_skb() Sowmini Varadhan
2016-09-21 9:43 ` Jiri Benc [this message]
2016-09-21 10:10 ` Hannes Frederic Sowa
2016-09-21 16:14 ` Alexei Starovoitov
2016-09-21 16:49 ` Hannes Frederic Sowa
2016-09-21 16:53 ` Eric Dumazet
2016-09-21 17:12 ` Alexei Starovoitov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160921114313.07a43f14@griffin \
--to=jbenc@redhat.com \
--cc=davem@davemloft.net \
--cc=hannes@stressinduktion.org \
--cc=netdev@vger.kernel.org \
--cc=sowmini.varadhan@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).