diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/netpoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index edd3246873e8..26ee1791aa02 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
@@ -78,9 +78,9 @@ static void queue_process(void *p) | |||
78 | } | 78 | } |
79 | 79 | ||
80 | static int checksum_udp(struct sk_buff *skb, struct udphdr *uh, | 80 | static int checksum_udp(struct sk_buff *skb, struct udphdr *uh, |
81 | unsigned short ulen, u32 saddr, u32 daddr) | 81 | unsigned short ulen, __be32 saddr, __be32 daddr) |
82 | { | 82 | { |
83 | unsigned int psum; | 83 | __wsum psum; |
84 | 84 | ||
85 | if (uh->check == 0 || skb->ip_summed == CHECKSUM_UNNECESSARY) | 85 | if (uh->check == 0 || skb->ip_summed == CHECKSUM_UNNECESSARY) |
86 | return 0; | 86 | return 0; |