Commit 72297c59 authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller

l2tp: Enable checksum unnecessary conversions for l2tp/UDP sockets

Signed-off-by: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c60c308c
...@@ -1392,6 +1392,8 @@ static int l2tp_tunnel_sock_create(struct net *net, ...@@ -1392,6 +1392,8 @@ static int l2tp_tunnel_sock_create(struct net *net,
if (err < 0) if (err < 0)
goto out; goto out;
udp_set_convert_csum(sock->sk, true);
break; break;
case L2TP_ENCAPTYPE_IP: case L2TP_ENCAPTYPE_IP:
......
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