Re: [ovs-dev] [PATCH] odp-util: Avoid misaligned references to ip6_hdr.

2017-06-14 Thread Ben Pfaff
On Wed, Jun 14, 2017 at 12:32:07PM -0400, Lance Richardson wrote: > > From: "Ben Pfaff" > > To: d...@openvswitch.org > > Cc: "Ben Pfaff" , "Lance Richardson" > > Sent: Wednesday, 14 June, 2017 11:38:07 AM > > Subject: [PATCH] odp-util: Avoid

Re: [ovs-dev] [PATCH] odp-util: Avoid misaligned references to ip6_hdr.

2017-06-14 Thread Lance Richardson
> From: "Ben Pfaff" > To: d...@openvswitch.org > Cc: "Ben Pfaff" , "Lance Richardson" > Sent: Wednesday, 14 June, 2017 11:38:07 AM > Subject: [PATCH] odp-util: Avoid misaligned references to ip6_hdr. > > Found by GCC -fsanitize=undefined. > >

[ovs-dev] [PATCH] odp-util: Avoid misaligned references to ip6_hdr.

2017-06-14 Thread Ben Pfaff
Found by GCC -fsanitize=undefined. Reported-by: Lance Richardson Signed-off-by: Ben Pfaff --- lib/odp-util.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lib/odp-util.c b/lib/odp-util.c index