[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180124061141.h2od4jyinwybygt4@gauss3.secunet.de>
Date: Wed, 24 Jan 2018 07:11:41 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: <yossiku@...lanox.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
"Hideaki YOSHIFUJI" <yoshfuji@...ux-ipv6.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net] xfrm: Fix eth_hdr(skb)->h_proto to reflect inner IP
version
On Tue, Jan 23, 2018 at 12:16:21AM +0200, yossiku@...lanox.com wrote:
> From: Yossi Kuperman <yossiku@...lanox.com>
>
> IPSec tunnel mode supports encapsulation of IPv4 over IPv6 and vice-versa.
>
> The outer IP header is stripped and the inner IP inherits the original
> Ethernet header. Tcpdump fails to properly decode the inner packet in
> case that h_proto is different than the inner IP version.
>
> Fix h_proto to reflect the inner IP version.
>
> Signed-off-by: Yossi Kuperman <yossiku@...lanox.com>
Applied, thanks Yossi!
Powered by blists - more mailing lists