Subject: Re: [PATCH net-next] ipv6: move ip6_dst_hoplimit() to net/ipv6/ip6_output.c

From: Jakub Kicinski <[email-masked]>
Date: Tue, 24 Feb 2026 18:05:44 -0800

On Wed, 25 Feb 2026 02:52:55 +0100 Eric Dumazet wrote:
> On Wed, Feb 25, 2026 at 2:49 AM Jakub Kicinski <[email-masked]> wrote:
> >
> > On Mon, 23 Feb 2026 15:33:42 +0000 Eric Dumazet wrote:  
> > > Move ip6_dst_hoplimit() to net/ipv6/ip6_output.c so that compiler
> > > can (auto)inline it from ip6_xmit().
> > >
> > > $ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
> > > add/remove: 0/0 grow/shrink: 1/0 up/down: 47/0 (47)
> > > Function                                     old     new   delta
> > > ip6_xmit                                    1481    1528     +47
> > > Total: Before=25076476, After=25076523, chg +0.00%  
> >
> > allmodconfig is not happy:
> >
> > ld.lld: error: undefined symbol: ip6_dst_hoplimit  
> 
> Oh well, this maze of config options...

I don't recall last time we discussed removing support for IPV6=m
but maybe we should consider it?