Re: [PATCH net v2] vrf: Drop existing dst reference in vrf_ip6_input_dst
From: Ido Schimmel
Date: Thu Jul 24 2025 - 07:22:23 EST
On Wed, Jul 23, 2025 at 03:46:25PM -0700, Stanislav Fomichev wrote:
> Commit 8fba0fc7b3de ("selftests: tc: Add generic erspan_opts matching support
> for tc-flower") started triggering the following kmemleak warning:
Did you mean
ff3fbcdd4724 ("selftests: tc: Add generic erspan_opts matching support for tc-flower")
?
[...]
> vrf_ip6_input_dst unconditionally sets skb dst entry, add a call to
> skb_dst_drop to drop any existing entry.
>
> Cc: David Ahern <dsahern@xxxxxxxxxx>
> Fixes: 9ff74384600a ("net: vrf: Handle ipv6 multicast and link-local addresses")
> Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxxx>
Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>