netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] l2tp: avoid checksum offload for fragmented packets
@ 2013-06-03  7:49 Tom Parkin
  2013-06-03  7:49 ` Tom Parkin
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Parkin @ 2013-06-03  7:49 UTC (permalink / raw)
  To: netdev; +Cc: jchapman, Tom Parkin

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-11  8:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03  7:49 [PATCH] l2tp: avoid checksum offload for fragmented packets Tom Parkin
2013-06-03  7:49 ` Tom Parkin
2013-06-03 14:44   ` Ben Hutchings
2013-06-05  9:41     ` Tom Parkin
2013-06-05 12:57       ` Ben Hutchings
2013-06-11  8:00         ` Tom Parkin
2013-06-11  8:16           ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).