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

Commit c60c308c authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller
Browse files

vxlan: Enable checksum unnecessary conversions for vxlan/UDP sockets

parent 884d338c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2370,6 +2370,8 @@ static struct socket *vxlan_create_sock(struct net *net, bool ipv6,
	/* Disable multicast loopback */
	inet_sk(sock->sk)->mc_loop = 0;

	udp_set_convert_csum(sock->sk, true);

	return sock;
}