On Tue, Dec 7, 2021 at 3:10 PM Frode Nordahl
<frode.nord...@canonical.com> wrote:
>
> The netlink policy unit test contains test fixture data that is
> subject to endianness and currently fails on big endian systems.
>
> Store the fixture data in a struct to ensure proper byte order for
> the header data.
>
> Also fix improper style for sizeof with expressions.
>
> Fixes: bfee9f6c0115 ("netlink: Add support for parsing link layer address.")
> Signed-off-by: Frode Nordahl <frode.nord...@canonical.com>

Looks great Frode, very nice solution without needing to worry about
manually converting the endian.

Acked-by: Mike Pattrick <m...@redhat.com>

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to