Re: [PATCH 10/10 net-next v3] netfilter: remove nf_ipv6_ops and use direct function calls

Fernando Fernandez Mancera
2026-03-18T12:18:17Z

On 3/17/26 9:17 PM, Ido Schimmel wrote:
> On Tue, Mar 17, 2026 at 03:01:06PM +0100, Fernando Fernandez Mancera wrote:
>> -#if IS_MODULE(CONFIG_IPV6)
>> -#define EXPORT_IPV6_MOD(X) EXPORT_SYMBOL(X)
>> -#define EXPORT_IPV6_MOD_GPL(X) EXPORT_SYMBOL_GPL(X)
>> -#else
>> #define EXPORT_IPV6_MOD(X)
>> #define EXPORT_IPV6_MOD_GPL(X)
>> -#endif
>
> We have quite a lot of these throughout the kernel, remove them?

Yes it should go away. It probably deserves its own patch. Thanks for
pointing it out!