diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/datagram.c | 2 | ||||
-rw-r--r-- | net/core/netpoll.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/core/datagram.c b/net/core/datagram.c index 0d9c9bac4006..797fdd4352ce 100644 --- a/net/core/datagram.c +++ b/net/core/datagram.c | |||
@@ -411,7 +411,7 @@ fault: | |||
411 | return -EFAULT; | 411 | return -EFAULT; |
412 | } | 412 | } |
413 | 413 | ||
414 | unsigned int __skb_checksum_complete(struct sk_buff *skb) | 414 | __sum16 __skb_checksum_complete(struct sk_buff *skb) |
415 | { | 415 | { |
416 | __sum16 sum; | 416 | __sum16 sum; |
417 | 417 | ||
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 26ee1791aa02..8be3681d3d80 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
@@ -77,8 +77,8 @@ static void queue_process(void *p) | |||
77 | } | 77 | } |
78 | } | 78 | } |
79 | 79 | ||
80 | static int checksum_udp(struct sk_buff *skb, struct udphdr *uh, | 80 | static __sum16 checksum_udp(struct sk_buff *skb, struct udphdr *uh, |
81 | unsigned short ulen, __be32 saddr, __be32 daddr) | 81 | unsigned short ulen, __be32 saddr, __be32 daddr) |
82 | { | 82 | { |
83 | __wsum psum; | 83 | __wsum psum; |
84 | 84 | ||