Re: [PATCH net-next] net/dns_resolver: consolidate namelen checks in dns_query

From: patchwork-bot+netdevbpf

Date: Wed May 27 2026 - 20:12:29 EST


Hello:

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

On Mon, 25 May 2026 11:54:01 +0200 you wrote:
> Consolidate the namelen checks and return -EINVAL early if needed. Drop
> the namelen == 0 check since it is covered by namelen < 3.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> net/dns_resolver/dns_query.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)

Here is the summary with links:
- [net-next] net/dns_resolver: consolidate namelen checks in dns_query
https://git.kernel.org/netdev/net-next/c/f289c0664f64

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html