summaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorAl Viro2006-11-15 06:37:33 +0100
committerDavid S. Miller2006-12-03 06:23:36 +0100
commit81d77662763ae527ba3a9b9275467901aaab7dfd (patch)
treec0280981515d052535f24ac89cbb135dc68abe55 /net/core/skbuff.c
parent[NET]: Annotate skb_checksum() and callers. (diff)
downloadkernel-qcow2-linux-81d77662763ae527ba3a9b9275467901aaab7dfd.tar.gz
kernel-qcow2-linux-81d77662763ae527ba3a9b9275467901aaab7dfd.tar.xz
kernel-qcow2-linux-81d77662763ae527ba3a9b9275467901aaab7dfd.zip
[NET]: Annotate skb_copy_and_csum_bits() and callers.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r--net/core/skbuff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index be9b541f536f..07c25d601922 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1315,8 +1315,8 @@ __wsum skb_checksum(const struct sk_buff *skb, int offset,
/* Both of above in one bottle. */
-unsigned int skb_copy_and_csum_bits(const struct sk_buff *skb, int offset,
- u8 *to, int len, unsigned int csum)
+__wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset,
+ u8 *to, int len, __wsum csum)
{
int start = skb_headlen(skb);
int i, copy = start - offset;
@@ -1368,7 +1368,7 @@ unsigned int skb_copy_and_csum_bits(const struct sk_buff *skb, int offset,
struct sk_buff *list = skb_shinfo(skb)->frag_list;
for (; list; list = list->next) {
- unsigned int csum2;
+ __wsum csum2;
int end;
BUG_TRAP(start <= offset + len);