projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c6f52
)
[NETPOLL]: Another udp checksum mangling.
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 02:08:13 +0000
(18:08 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:20 +0000
(21:27 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/netpoll.c
b/net/core/netpoll.c
index 8be3681d3d80036038c2f7fda88e7d0308fecb54..3c58846fcaa5694a8b6c1396e221a02fc1c7d1c1 100644
(file)
--- 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)
udp_len, IPPROTO_UDP,
csum_partial((unsigned char *)udph, udp_len, 0));
if (udph->check == 0)
- udph->check =
-1
;
+ udph->check =
CSUM_MANGLED_0
;
skb->nh.iph = iph = (struct iphdr *)skb_push(skb, sizeof(*iph));