Re: [PATCH net-next 3/7] netfilter: Switch to skb_dst_reset to clear dst_entry

From: Florian Westphal
Date: Wed Aug 13 2025 - 02:44:06 EST


Stanislav Fomichev <sdf@xxxxxxxxxxx> wrote:
> Going forward skb_dst_set will assert that skb dst_entry
> is empty during skb_dst_set. skb_dst_reset is added to reset
> existing entry without doing refcnt. Switch to skb_dst_reset
> in ip[6]_route_me_harder and add a comment on why it's safe
> to skip skb_dst_restore.

Acked-by: Florian Westphal <fw@xxxxxxxxx>