[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130117.033740.1579145176326281217.davem@davemloft.net>
Date:	Thu, 17 Jan 2013 03:37:40 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	r.kuntz@...lavors.com
Cc:	netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org,
	steffen.klassert@...unet.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] ipv6: fix header length calculation in
 ip6_append_data()
From: Romain KUNTZ <r.kuntz@...lavors.com>
Date: Wed, 16 Jan 2013 23:47:40 +0100
> Commit 299b0767 (ipv6: Fix IPsec slowpath fragmentation problem)
> has introduced a error in the header length calculation that 
> provokes corrupted packets when non-fragmentable extensions 
> headers (Destination Option or Routing Header Type 2) are used.
> 
> rt->rt6i_nfheader_len is the length of the non-fragmentable 
> extension header, and it should be substracted to
> rt->dst.header_len, and not to exthdrlen, as it was done before
> commit 299b0767.
> 
> This patch reverts to the original and correct behavior. It has
> been successfully tested with and without IPsec on packets
> that include non-fragmentable extensions headers.
> 
> Signed-off-by: Romain Kuntz <r.kuntz@...lavors.com>
> Acked-by: Steffen Klassert <steffen.klassert@...unet.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
