Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e57dff2 authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

[NETPOLL]: Another udp checksum mangling.

parent 66c6f529
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));