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

Signed-off-by: default avatarTom Herbert <>
Signed-off-by: default avatarDavid S. Miller <>
parent 884d338c
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment