diff options
-rw-r--r-- | net/core/netpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 8be3681d3d80..3c58846fcaa5 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
@@ -296,7 +296,7 @@ void netpoll_send_udp(struct netpoll *np, const char *msg, int len) | |||
296 | udp_len, IPPROTO_UDP, | 296 | udp_len, IPPROTO_UDP, |
297 | csum_partial((unsigned char *)udph, udp_len, 0)); | 297 | csum_partial((unsigned char *)udph, udp_len, 0)); |
298 | if (udph->check == 0) | 298 | if (udph->check == 0) |
299 | udph->check = -1; | 299 | udph->check = CSUM_MANGLED_0; |
300 | 300 | ||
301 | skb->nh.iph = iph = (struct iphdr *)skb_push(skb, sizeof(*iph)); | 301 | skb->nh.iph = iph = (struct iphdr *)skb_push(skb, sizeof(*iph)); |
302 | 302 | ||