Re: [PATCH net] ipv6: fix panic when forwarding a pkt with no in6 dev
From: David Ahern
Date: Sun Apr 10 2022 - 21:11:51 EST
On 4/8/22 8:03 AM, Nicolas Dichtel wrote:
> kongweibin reported a kernel panic in ip6_forward() when input interface
> has no in6 dev associated.
>
> The following tc commands were used to reproduce this panic:
> tc qdisc del dev vxlan100 root
> tc qdisc add dev vxlan100 root netem corrupt 5%
>
> CC: stable@xxxxxxxxxxxxxxx
> Fixes: ccd27f05ae7b ("ipv6: fix 'disable_policy' for fwd packets")
> Reported-by: kongweibin <kongweibin2@xxxxxxxxxx>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
> ---
>
Reviewed-by: David Ahern <dsahern@xxxxxxxxxx>