Re: [PATCH net-next] net: mctp: defer creation of dst after source-address check

patchwork-bot+netdevbpf
2026-04-07T01:20:32Z

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 03 Apr 2026 10:24:51 +0800 you wrote:
> Sashiko reports:
>
> > mctp_dst_from_route() increments the device reference count by calling
> > mctp_dev_hold(). When a valid route is found and dst is NULL, the
> > structure copy is bypassed and rc is set to 0.
>
> Instead of optimistically creating a dst from the final route (then
> releasing it if the saddr is invalid), perform the saddr check first.
>
> [...]

Here is the summary with links:
- [net-next] net: mctp: defer creation of dst after source-address check
https://git.kernel.org/netdev/net-next/c/f32ba0963119

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.