* [PATCH v1 net-next] ipv4: Use EXPORT_IPV6_MOD_GPL() for ip_fib_metrics_init().
@ 2026-01-27 8:13 Kuniyuki Iwashima
2026-01-28 17:49 ` Simon Horman
2026-01-29 3:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Kuniyuki Iwashima @ 2026-01-27 8:13 UTC (permalink / raw)
To: David S. Miller, David Ahern, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: Simon Horman, Kuniyuki Iwashima, Kuniyuki Iwashima, netdev
ip_fib_metrics_init() is only called from fib_create_info()
and ip6_route_info_create().
Let's use EXPORT_IPV6_MOD_GPL() instead.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
---
net/ipv4/metrics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/metrics.c b/net/ipv4/metrics.c
index 8ddac1f595ed..82cf8a9e5ded 100644
--- a/net/ipv4/metrics.c
+++ b/net/ipv4/metrics.c
@@ -88,4 +88,4 @@ struct dst_metrics *ip_fib_metrics_init(struct nlattr *fc_mx,
return fib_metrics;
}
-EXPORT_SYMBOL_GPL(ip_fib_metrics_init);
+EXPORT_IPV6_MOD_GPL(ip_fib_metrics_init);
--
2.52.0.457.g6b5491de43-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 net-next] ipv4: Use EXPORT_IPV6_MOD_GPL() for ip_fib_metrics_init().
2026-01-27 8:13 [PATCH v1 net-next] ipv4: Use EXPORT_IPV6_MOD_GPL() for ip_fib_metrics_init() Kuniyuki Iwashima
@ 2026-01-28 17:49 ` Simon Horman
2026-01-29 3:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2026-01-28 17:49 UTC (permalink / raw)
To: Kuniyuki Iwashima
Cc: David S. Miller, David Ahern, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Kuniyuki Iwashima, netdev
On Tue, Jan 27, 2026 at 08:13:20AM +0000, Kuniyuki Iwashima wrote:
> ip_fib_metrics_init() is only called from fib_create_info()
> and ip6_route_info_create().
>
> Let's use EXPORT_IPV6_MOD_GPL() instead.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Thanks,
This matches my undestanding of the purpose of EXPORT_IPV6_MOD_GPL, as per
commit 54568a84c95b ("net: introduce EXPORT_IPV6_MOD() and EXPORT_IPV6_MOD_GPL()")
Reviewed-by: Simon Horman <horms@kernel.org>
...
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v1 net-next] ipv4: Use EXPORT_IPV6_MOD_GPL() for ip_fib_metrics_init().
2026-01-27 8:13 [PATCH v1 net-next] ipv4: Use EXPORT_IPV6_MOD_GPL() for ip_fib_metrics_init() Kuniyuki Iwashima
2026-01-28 17:49 ` Simon Horman
@ 2026-01-29 3:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-01-29 3:50 UTC (permalink / raw)
To: Kuniyuki Iwashima
Cc: davem, dsahern, edumazet, kuba, pabeni, horms, kuni1840, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 27 Jan 2026 08:13:20 +0000 you wrote:
> ip_fib_metrics_init() is only called from fib_create_info()
> and ip6_route_info_create().
>
> Let's use EXPORT_IPV6_MOD_GPL() instead.
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
>
> [...]
Here is the summary with links:
- [v1,net-next] ipv4: Use EXPORT_IPV6_MOD_GPL() for ip_fib_metrics_init().
https://git.kernel.org/netdev/net-next/c/5b71de34b7ea
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-29 3:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 8:13 [PATCH v1 net-next] ipv4: Use EXPORT_IPV6_MOD_GPL() for ip_fib_metrics_init() Kuniyuki Iwashima
2026-01-28 17:49 ` Simon Horman
2026-01-29 3:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox