Re: [PATCH] netfilter: conntrack: Force inlining of build check to prevent build failure

From: Florian Westphal
Date: Wed May 03 2017 - 08:39:14 EST


Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> If gcc (e.g. 4.1.2) decides not to inline total_extension_size(), the
> build will fail with:
>
> net/built-in.o: In function `nf_conntrack_init_start':
> (.text+0x9baf6): undefined reference to `__compiletime_assert_1893'
>
> or
>
> ERROR: "__compiletime_assert_1893" [net/netfilter/nf_conntrack.ko] undefined!
>
> Fix this by forcing inlining of total_extension_size().

Sorry about that, thanks for the fix Geert.

Acked-by: Florian Westphal <fw@xxxxxxxxx>