l2tp: Enable checksum unnecessary conversions for l2tp/UDP sockets
Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c60c308cbd
commit
72297c59f7
|
@ -1392,6 +1392,8 @@ static int l2tp_tunnel_sock_create(struct net *net,
|
|||
if (err < 0)
|
||||
goto out;
|
||||
|
||||
udp_set_convert_csum(sock->sk, true);
|
||||
|
||||
break;
|
||||
|
||||
case L2TP_ENCAPTYPE_IP:
|
||||
|
|
Loading…
Reference in New Issue