Re: [PATCH -next] net: ipv6: unexport __init-annotated seg6_hmac_net_init()
From: patchwork-bot+netdevbpf
Date: Wed Jun 29 2022 - 00:30:22 EST
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 28 Jun 2022 11:31:34 +0800 you wrote:
> As commit 5801f064e351 ("net: ipv6: unexport __init-annotated seg6_hmac_init()"),
> EXPORT_SYMBOL and __init is a bad combination because the .init.text
> section is freed up after the initialization. Hence, modules cannot
> use symbols annotated __init. The access to a freed symbol may end up
> with kernel panic.
>
> This remove the EXPORT_SYMBOL to fix modpost warning:
>
> [...]
Here is the summary with links:
- [-next] net: ipv6: unexport __init-annotated seg6_hmac_net_init()
https://git.kernel.org/netdev/net/c/53ad46169fe2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html