From: Arnd Bergmann <a...@arndb.de> 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 <a...@arndb.de> > Fixes: 308edfdf1563 ("gre6: Cleanup GREv6 receive path, call common GRE > functions") Applied, thanks.