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

From: David Woodhouse

Date: Wed Apr 01 2026 - 05:49:11 EST


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@xxxxxxx/
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: smime.p7s
Description: S/MIME cryptographic signature