lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1370245762-5126-1-git-send-email-tparkin@katalix.com>
Date:	Mon,  3 Jun 2013 08:49:21 +0100
From:	Tom Parkin <tparkin@...alix.com>
To:	netdev@...r.kernel.org
Cc:	jchapman@...alix.com, Tom Parkin <tparkin@...alix.com>
Subject: [PATCH] l2tp: avoid checksum offload for fragmented packets

UDP encapsulated L2TP data is currently subject to checksum errors if hardware
checksum offload is used and the packet is fragmented through the L2TP tunnel.

This patch works around this issue by falling back to software checksumming if
the packet will fragment.

This patch is based on the previous RFC patch, with the following ammendments:

	* Ben LaHaise's comments on header length calculation and IPv6
	  checksumming have been integrated

	* l2tp_xmit_ipv6_csum has been updated in a similar manner to the new
	  l2tp_xmit_ipv4_csum

Tom Parkin (1):
  l2tp: avoid checksum offload for fragmented packets

 net/l2tp/l2tp_core.c |   65 +++++++++++++++++++++++++++++++++++---------------
 1 file changed, 46 insertions(+), 19 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ