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

Commit f3f2f155 authored by Justin Tee's avatar Justin Tee Committed by Gerrit - the friendly Code Review server
Browse files

L2TP: Fixes the issue where UDP checksum flags are not properly handled



This fixes an issue where UDP checksum enable flags are incorrectly handled
in l2tp module.

Acked-by: default avatarJagadeesh Babu Challagundla <jchallag@qti.qualcomm.com>
Signed-off-by: default avatarJustin Tee <justint@codeaurora.org>
Change-Id: I88fbc4dfd5598be01b043b8fabafbe95dda5aba6
parent d48a8879
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1375,9 +1375,9 @@ static int l2tp_tunnel_sock_create(struct net *net,
			memcpy(&udp_conf.peer_ip6, cfg->peer_ip6,
			       sizeof(udp_conf.peer_ip6));
			udp_conf.use_udp6_tx_checksums =
			    cfg->udp6_zero_tx_checksums;
			   !cfg->udp6_zero_tx_checksums;
			udp_conf.use_udp6_rx_checksums =
			    cfg->udp6_zero_rx_checksums;
			   !cfg->udp6_zero_rx_checksums;
		} else
#endif
		{