diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-04-21 19:52:04 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:29:37 -0700 |
commit | 97fc8d0bc58cd09e62dc06ea5a64b58841738934 (patch) | |
tree | d8e5c32caefe07161dbcb00bebba4c72089364e3 /include/net/ipv6.h | |
parent | 952a10be3272c4b5b7839b09cb0483dc72137101 (diff) | |
download | kernel_samsung_aries-97fc8d0bc58cd09e62dc06ea5a64b58841738934.zip kernel_samsung_aries-97fc8d0bc58cd09e62dc06ea5a64b58841738934.tar.gz kernel_samsung_aries-97fc8d0bc58cd09e62dc06ea5a64b58841738934.tar.bz2 |
[IPV6] SNMP: Use put_unaligned() instead of memcpy().
Hint from David Miller <davem@davemloft.net>.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 1df360e..4408def 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -172,7 +172,7 @@ int snmp6_alloc_dev(struct inet6_dev *idev); int snmp6_free_dev(struct inet6_dev *idev); int snmp6_mib_init(void *ptr[2], size_t mibsize, size_t mibalign); void snmp6_mib_free(void *ptr[2]); -void snmp6_fill_stats(void *stats, struct inet6_dev *idev, int attrtype, int bytes); +void snmp6_fill_stats(u64 *stats, struct inet6_dev *idev, int attrtype, int bytes); struct ip6_ra_chain { |