aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/skbuff.h4
-rw-r--r--net/core/skbuff.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 64fa7f4c702d..784129fb61d4 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1334,8 +1334,8 @@ extern int skb_copy_and_csum_datagram_iovec(struct sk_buff *skb,
1334extern void skb_free_datagram(struct sock *sk, struct sk_buff *skb); 1334extern void skb_free_datagram(struct sock *sk, struct sk_buff *skb);
1335extern void skb_kill_datagram(struct sock *sk, struct sk_buff *skb, 1335extern void skb_kill_datagram(struct sock *sk, struct sk_buff *skb,
1336 unsigned int flags); 1336 unsigned int flags);
1337extern unsigned int skb_checksum(const struct sk_buff *skb, int offset, 1337extern __wsum skb_checksum(const struct sk_buff *skb, int offset,
1338 int len, unsigned int csum); 1338 int len, __wsum csum);
1339extern int skb_copy_bits(const struct sk_buff *skb, int offset, 1339extern int skb_copy_bits(const struct sk_buff *skb, int offset,
1340 void *to, int len); 1340 void *to, int len);
1341extern int skb_store_bits(const struct sk_buff *skb, int offset, 1341extern int skb_store_bits(const struct sk_buff *skb, int offset,
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);
1240 1240
1241/* Checksum skb data. */ 1241/* Checksum skb data. */
1242 1242
1243unsigned int skb_checksum(const struct sk_buff *skb, int offset, 1243__wsum skb_checksum(const struct sk_buff *skb, int offset,
1244 int len, unsigned int csum) 1244 int len, __wsum csum)
1245{ 1245{
1246 int start = skb_headlen(skb); 1246 int start = skb_headlen(skb);
1247 int i, copy = start - offset; 1247 int i, copy = start - offset;