[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120527.010907.594471916322063411.davem@davemloft.net>
Date: Sun, 27 May 2012 01:09:07 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bpoirier@...e.de
Cc: netdev@...r.kernel.org, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net,
linux-kernel@...r.kernel.org, steffen.klassert@...unet.com,
diego.beltrami@...il.com
Subject: Re: [PATCH v4] xfrm: take net hdr len into account for esp payload
size calculation
From: Benjamin Poirier <bpoirier@...e.de>
Date: Thu, 24 May 2012 17:32:38 -0400
> Corrects the function that determines the esp payload size. The calculations
> done in esp{4,6}_get_mtu() lead to overlength frames in transport mode for
> certain mtu values and suboptimal frames for others.
>
> According to what is done, mainly in esp{,6}_output() and tcp_mtu_to_mss(),
> net_header_len must be taken into account before doing the alignment
> calculation.
>
> Signed-off-by: Benjamin Poirier <bpoirier@...e.de>
Applied and queued up for -stable, thanks.
--
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