Fix alignment fault in switchd(8) on sparc64. Use memcpy to set oxm_value,
authorakoshibe <akoshibe@openbsd.org>
Tue, 21 Aug 2018 16:40:23 +0000 (16:40 +0000)
committerakoshibe <akoshibe@openbsd.org>
Tue, 21 Aug 2018 16:40:23 +0000 (16:40 +0000)
commit777e98f2f294438651c0e377297c0dab70e230a5
treed894e6a2e3f77c20d6d31de9ba6869fb575de7ae
parent3693586972ce221dc80ccddb6b4cd3a896da0f26
Fix alignment fault in switchd(8) on sparc64. Use memcpy to set oxm_value,
which isn't aligned to 64 bits.

Based on pointers from Ori Bernstein
Reported by Ryan Keating
ok yasuoka@ deraadt@
sys/net/switchofp.c