aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r--net/core/netpoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index 34f5d072f168..fc4e28e23b89 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -343,7 +343,7 @@ void netpoll_send_udp(struct netpoll *np, const char *msg, int len)
343 udph->check = csum_tcpudp_magic(htonl(np->local_ip), 343 udph->check = csum_tcpudp_magic(htonl(np->local_ip),
344 htonl(np->remote_ip), 344 htonl(np->remote_ip),
345 udp_len, IPPROTO_UDP, 345 udp_len, IPPROTO_UDP,
346 csum_partial((unsigned char *)udph, udp_len, 0)); 346 csum_partial(udph, udp_len, 0));
347 if (udph->check == 0) 347 if (udph->check == 0)
348 udph->check = CSUM_MANGLED_0; 348 udph->check = CSUM_MANGLED_0;
349 349