]> git.proxmox.com Git - mirror_ovs.git/commit
sparse: Make IN6_IS_ADDR_MC_LINKLOCAL and IN6_ARE_ADDR_EQUAL pickier.
authorBen Pfaff <blp@ovn.org>
Tue, 10 Jul 2018 16:27:18 +0000 (09:27 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 11 Jul 2018 15:28:33 +0000 (08:28 -0700)
commit0b9cf44914cbe959427124c7e24de575bac782e6
tree5161afc0eb37731f8d394faa987bdf42b3345e1f
parentbfd2c0eccedf024e2c2baaf8f43ad4d97480ea0d
sparse: Make IN6_IS_ADDR_MC_LINKLOCAL and IN6_ARE_ADDR_EQUAL pickier.

On GNU systems these macros work with arbitrary pointers, but the relevant
standards only require IN6_IS_ADDR_MC_LINKLOCAL to work with in6_addr (and
don't specify IN6_ARE_ADDR_EQUAL at all).  Make the "sparse"
implementations correspondingly pickier so that we catch any introduced
problems more quickly.

CC: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
include/sparse/netinet/in.h