From: David Ahern <dsah...@kernel.org> Date: Tue, 9 Oct 2018 11:10:43 -0700
> From: David Ahern <dsah...@gmail.com> > > Without CONFIG_INET enabled compiles fail with: > > net/mpls/af_mpls.o: In function `mpls_dump_routes': > af_mpls.c:(.text+0xed0): undefined reference to `ip_valid_fib_dump_req' > > The preference is for MPLS to use the same handler as ipv4 and ipv6 > to allow consistency when doing a dump for AF_UNSPEC which walks > all address families invoking the route dump handler. If INET is > disabled then fallback to an MPLS version which can be tighter on > the data checks. > > Fixes: e8ba330ac0c5 ("rtnetlink: Update fib dumps for strict data checking") > Reported-by: Randy Dunlap <rdun...@infradead.org> > Reported-by: Arnd Bergmann <a...@arndb.de> > Signed-off-by: David Ahern <dsah...@gmail.com> Applied.