Re: [ovs-dev] [PATCH] xlate: use const struct in6_addr in linklocal check

2018-07-10 Thread Ben Pfaff
On Tue, Jul 10, 2018 at 09:34:38AM -0400, Aaron Conole wrote: > Commit 83c2757bd16e ("xlate: Move tnl_neigh_snoop() to > terminate_native_tunnel()") introduced a call to > IN6_IS_ADDR_MC_LINKLOCAL() when checking neighbor discovery. > > The call to this assumes that the argument may be a const uin

[ovs-dev] [PATCH] xlate: use const struct in6_addr in linklocal check

2018-07-10 Thread Aaron Conole
Commit 83c2757bd16e ("xlate: Move tnl_neigh_snoop() to terminate_native_tunnel()") introduced a call to IN6_IS_ADDR_MC_LINKLOCAL() when checking neighbor discovery. The call to this assumes that the argument may be a const uint8_t *. According to The Open Group Base Specifications Issue 7, 2018: