]> err.no Git - linux-2.6/commit
[IPV6] SNMP: Avoid unaligned accesses.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Sat, 21 Apr 2007 11:12:43 +0000 (20:12 +0900)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:35 +0000 (22:29 -0700)
commit2334e973559e119fa4161047035f03ad97a8676a
tree0c01f78dac17f031ed39e262eea042c4381f9dd7
parent9e412ba7632f71259a53085665d4983b78257b7c
[IPV6] SNMP: Avoid unaligned accesses.

Because stats pointer may not be aligned for u64, use memcpy
to fill u64 values.
Issue reported by David Miller <davem@davemloft.net>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/net/ipv6.h
net/ipv6/proc.c