[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110627.203954.64191314708724007.davem@davemloft.net>
Date: Mon, 27 Jun 2011 20:39:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: steffen.klassert@...unet.com
Cc: eric.dumazet@...il.com, herbert@...dor.hengli.com.au,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] ipv4: Fix IPsec slowpath fragmentation problem
From: Steffen Klassert <steffen.klassert@...unet.com>
Date: Wed, 22 Jun 2011 13:05:37 +0200
> ip_append_data() builds packets based on the mtu from dst_mtu(rt->dst.path).
> On IPsec the effective mtu is lower because we need to add the protocol
> headers and trailers later when we do the IPsec transformations. So after
> the IPsec transformations the packet might be too big, which leads to a
> slowpath fragmentation then. This patch fixes this by building the packets
> based on the lower IPsec mtu from dst_mtu(&rt->dst) and adapts the exthdr
> handling to this.
>
> Signed-off-by: Steffen Klassert <steffen.klassert@...unet.com>
Applied.
--
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