On Thu, 17 Oct 2024 15:22:08 +0100 Bruce Richardson <bruce.richard...@intel.com> wrote:
> If compiling with -Waddress-of-packed-member, we get a warning about the > use of the unaligned uint64_t value which is used to copy 8 bytes from > ip_hdr to the key. Replace this unaligned assignment with an equivalent > 8-byte constant-sized memcpy, allowing the compiler to choose optimal > instructions to do the assignment. > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> Acked-by: Stephen Hemminger <step...@networkplumber.org>