[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190130.140648.324657429617438176.davem@davemloft.net>
Date: Wed, 30 Jan 2019 14:06:48 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yohei.kanemaru@...il.com
Cc: netdev@...r.kernel.org, dlebrun@...gle.com
Subject: Re: [PATCH net] ipv6: sr: clear IP6CB(skb) on SRH ip4ip6
encapsulation
From: Yohei Kanemaru <yohei.kanemaru@...il.com>
Date: Tue, 29 Jan 2019 15:52:34 +0900
> skb->cb may contain data from previous layers (in an observed case
> IPv4 with L3 Master Device). In the observed scenario, the data in
> IPCB(skb)->frags was misinterpreted as IP6CB(skb)->frag_max_size,
> eventually caused an unexpected IPv6 fragmentation in ip6_fragment()
> through ip6_finish_output().
>
> This patch clears IP6CB(skb), which potentially contains garbage data,
> on the SRH ip4ip6 encapsulation.
>
> Fixes: 32d99d0b6702 ("ipv6: sr: add support for ip4ip6 encapsulation")
> Signed-off-by: Yohei Kanemaru <yohei.kanemaru@...il.com>
Applied, thanks.
Powered by blists - more mailing lists