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

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

l2tp: Enable checksum unnecessary conversions for l2tp/UDP sockets

parent c60c308c
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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: