Re: stable-rc 4.14 : net/ipv6/addrconf.c:6593:22: error: 'blackhole_netdev' undeclared

From: Sasha Levin
Date: Mon Nov 04 2019 - 12:13:49 EST


On Mon, Nov 04, 2019 at 02:32:58PM +0100, Greg Kroah-Hartman wrote:
On Mon, Nov 04, 2019 at 06:44:39PM +0530, Naresh Kamboju wrote:
stable-rc 4.14 for architectures arm64, arm, x86_64 and i386 builds
failed due to below error,

net/ipv6/addrconf.c: In function 'addrconf_init':
net/ipv6/addrconf.c:6593:22: error: 'blackhole_netdev' undeclared
(first use in this function); did you mean 'alloc_netdev'?
bdev = ipv6_add_dev(blackhole_netdev);
^~~~~~~~~~~~~~~~
alloc_netdev
net/ipv6/addrconf.c:6593:22: note: each undeclared identifier is
reported only once for each function it appears in
net/ipv6/addrconf.c: In function 'addrconf_cleanup':
net/ipv6/addrconf.c:6667:18: error: 'blackhole_netdev' undeclared
(first use in this function); did you mean 'alloc_netdev'?
addrconf_ifdown(blackhole_netdev, 2);
^~~~~~~~~~~~~~~~
alloc_netdev

Build link,
https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-stable-rc-4.14/DISTRO=lkft,MACHINE=intel-corei7-64,label=docker-lkft/632/consoleText


Ick, my fault, will go fix this, sorry about that.

I've dropped this patch from 5.3 too, it was reverted upstream.

--
Thanks,
Sasha