summaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorAl Viro2006-11-15 06:37:14 +0100
committerDavid S. Miller2006-12-03 06:23:35 +0100
commit2bbbc86890ac4c911c5057f69af93853e52a42a8 (patch)
treef05aa0eea53312afa5829a80da35d4500d7a1b52 /net/core/skbuff.c
parent[NET]: Annotate callers of the reset of checksum.h stuff. (diff)
downloadkernel-qcow2-linux-2bbbc86890ac4c911c5057f69af93853e52a42a8.tar.gz
kernel-qcow2-linux-2bbbc86890ac4c911c5057f69af93853e52a42a8.tar.xz
kernel-qcow2-linux-2bbbc86890ac4c911c5057f69af93853e52a42a8.zip
[NET]: Annotate skb_checksum() 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 6e8c15b39eb8..be9b541f536f 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1240,8 +1240,8 @@ EXPORT_SYMBOL(skb_store_bits);
/* Checksum skb data. */
-unsigned int skb_checksum(const struct sk_buff *skb, int offset,
- int len, unsigned int csum)
+__wsum skb_checksum(const struct sk_buff *skb, int offset,
+ int len, __wsum csum)
{
int start = skb_headlen(skb);
int i, copy = start - offset;