diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 21:08:13 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:27:20 -0500 |
commit | 5e57dff2c49956e24f27f9b6d2ec0db967680c39 (patch) | |
tree | 8374ba0b79ecac0107f5bc1a55992c8666a51ee0 | |
parent | 66c6f529c31e2886536aad4b2320d566deb1f150 (diff) |
[NETPOLL]: Another udp checksum mangling.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
-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 | ||