Re: [ovs-dev] [PATCH 2/3] netlink: Introduce helpers for 128-bit integer attributes.

2017-06-14 Thread Lance Richardson
> From: "Ben Pfaff" > To: d...@openvswitch.org > Cc: "Ben Pfaff" , "Lance Richardson" > Sent: Wednesday, 14 June, 2017 12:24:56 PM > Subject: [PATCH 2/3] netlink: Introduce helpers for 128-bit integer > attributes. > > Use the helpers in

[ovs-dev] [PATCH 2/3] netlink: Introduce helpers for 128-bit integer attributes.

2017-06-14 Thread Ben Pfaff
Use the helpers in appropriate places. In most cases, this fixes a misaligned reference, since ovs_be128 and ovs_u128 require 8-byte alignment but Netlink only guarantees 4-byte. Found by GCC -fsanitize=undefined. Reported-by: Lance Richardson Signed-off-by: Ben Pfaff