From: Yohei Kanemaru <[email protected]>
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 <[email protected]>
Applied, thanks.