Re: [PATCH 3/6] net: Guard Legacy IP entry points with CONFIG_LEGACY_IP

David Woodhouse
2026-04-01T09:35:07Z

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

On Wed, 2026-04-01 at 02:14 -0700, Eric Dumazet wrote:
>
> >
> >          /* Add UDP-Lite (RFC 3828) */
> > -       udplite4_register();
> > +       if (IS_ENABLED(CONFIG_LEGACY_IP))
> > +               udplite4_register();
>
> udplite has been removed in net-next.
>
> I would think your patch series is net-next material ?

A more conservative variant of the patch series on another day of the
year, sure. It also probably wants to land after
https://lore.kernel.org/lkml/20260310153506.5181-1-fmancera@suse.de/
turns CONFIG_IPV6 into a boolean.

I'll need to take a closer look at CONFIG_INET too; it ends up being
possible to configure with INET && !LEGACY_IP && !IPV6 which isn't a
combination that makes sense (and I obviously didn't test).

As discussed, some of this series *is* realistic for another day, and
I'll happily work on whatever direction we think makes sense.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5069 bytes --]