summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/core/netpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index 9e9a6fe..a524a0b 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -495,8 +495,8 @@ void netpoll_send_udp(struct netpoll *np, const char *msg, int len)
skb->ip_summed = CHECKSUM_PARTIAL;
else {
skb->ip_summed = CHECKSUM_NONE;
- udph->check = csum_tcpudp_magic(np->local_ip,
- np->remote_ip,
+ udph->check = csum_tcpudp_magic(np->local_ip.ip,
+ np->remote_ip.ip,
udp_len, IPPROTO_UDP,
csum_partial(udph, udp_len, 0));
if (udph->check == 0)