Re: [PATCH] gre6: add Kconfig dependency for NET_IPGRE_DEMUX

From: David Miller
Date: Wed May 04 2016 - 14:13:01 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Tue, 3 May 2016 17:19:57 +0200

> The ipv6 gre implementation was cleaned up to share more code
> with the ipv4 version, but it can be enabled even when NET_IPGRE_DEMUX
> is disabled, resulting in a link error:
>
> net/built-in.o: In function `gre_rcv':
> :(.text+0x17f5d0): undefined reference to `gre_parse_header'
> ERROR: "gre_parse_header" [net/ipv6/ip6_gre.ko] undefined!
>
> This adds a Kconfig dependency to prevent that now invalid
> configuration.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> Fixes: 308edfdf1563 ("gre6: Cleanup GREv6 receive path, call common GRE functions")

Applied, thanks.