Re: [PATCH net v2] vrf: Drop existing dst reference in vrf_ip6_input_dst

Ido Schimmel
2025-07-24T11:22:03Z

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@kernel.org>
> Fixes: 9ff74384600a ("net: vrf: Handle ipv6 multicast and link-local addresses")
> Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>

Reviewed-by: Ido Schimmel <idosch@nvidia.com>