Re: [PATCH net-next] net: ipv4: Remove extern udp_v4_early_demux()/tcp_v4_early_demux() in .c files
From: patchwork-bot+netdevbpf
Date: Wed Oct 29 2025 - 20:20:29 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 25 Oct 2025 17:26:37 +0800 you wrote:
> Function udp_v4_early_demux() was already declared in 'include/net/udp.h',
> no need to keep the extern in 'ip_input.c', which may produce the
> following checkpatch warning:
>
> WARNING: externs should be avoided in .c files
> #45: FILE: net/ipv4/ip_input.c:322:
> +enum skb_drop_reason udp_v4_early_demux(struct sk_buff *skb);
>
> [...]
Here is the summary with links:
- [net-next] net: ipv4: Remove extern udp_v4_early_demux()/tcp_v4_early_demux() in .c files
https://git.kernel.org/netdev/net-next/c/f58abec23da5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html