> From: "Ben Pfaff" <b...@ovn.org>
> To: d...@openvswitch.org
> Cc: "Ben Pfaff" <b...@ovn.org>, "Lance Richardson" <lrich...@redhat.com>
> 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 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 <lrich...@redhat.com>
> Signed-off-by: Ben Pfaff <b...@ovn.org>
> ---
>  lib/dpif-netlink.c | 12 +++---------
>  lib/netlink.c      | 54
>  ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  lib/netlink.h      | 10 ++++++++++
>  lib/odp-util.c     | 26 ++++++++++----------------
>  4 files changed, 77 insertions(+), 25 deletions(-)
> 

Acked-by: Lance Richardson <lrich...@redhat.com>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to