Re: [PATCH net-next v3 0/4] net: mitigate retpoline overhead

From: Willem de Bruijn
Date: Sun Dec 16 2018 - 15:06:24 EST


On Sun, Dec 16, 2018 at 2:19 PM David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> From: Paolo Abeni <pabeni@xxxxxxxxxx>
> Date: Sun, 16 Dec 2018 19:55:40 +0100
>
> > Again, I messed it! I'm really sorry to waste everybody's time.
> > I was unable to give proper coverage with different configs. I tested
> > vs.:
> >
> > CONFIG_IPV6=ymn
> > CONFIG_INET=yn
> >
> > but
> >
> > # CONFIG_RETPOLINE is not set
> >
> > fooled me. The following patch should fix.
>
> Please submit this formally with a proper signoff and let's see where
> it goes.

I just happened to run in to this, too. Had to disable retpoline for
some unrelated issue.

The above draft patch fixed the compilation for me.