summaryrefslogtreecommitdiffstats
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
authorAl Viro2006-11-15 06:36:54 +0100
committerDavid S. Miller2006-12-03 06:23:34 +0100
commit5f92a7388a29594d6c365b23a48d4bb8299a3ea7 (patch)
tree569e888e3b87dd77fa3eafa36dac96f2e1da00c5 /net/ipv6/icmp.c
parent[NET]: Annotate callers of csum_partial_copy_...() and csum_and_copy...() in ... (diff)
downloadkernel-qcow2-linux-5f92a7388a29594d6c365b23a48d4bb8299a3ea7.tar.gz
kernel-qcow2-linux-5f92a7388a29594d6c365b23a48d4bb8299a3ea7.tar.xz
kernel-qcow2-linux-5f92a7388a29594d6c365b23a48d4bb8299a3ea7.zip
[NET]: Annotate callers of the reset of checksum.h stuff.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r--net/ipv6/icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index 4ab8acf37b54..3dcc4b7f41b4 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -262,7 +262,7 @@ static int icmpv6_getfrag(void *from, char *to, int offset, int len, int odd, st
{
struct icmpv6_msg *msg = (struct icmpv6_msg *) from;
struct sk_buff *org_skb = msg->skb;
- __u32 csum = 0;
+ __wsum csum = 0;
csum = skb_copy_and_csum_bits(org_skb, msg->offset + offset,
to, len, csum);