From: Jiri Pirko <[email protected]> Date: Mon, 24 Jul 2017 09:56:00 +0200
> From: Ido Schimmel <[email protected]> > > When IPv6 isn't enabled the following error is generated: > > ERROR: "nd_tbl" [drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko] > undefined! > > Fix it by replacing 'arp_tbl' and 'nd_tbl' with 'tbl->family' wherever > possible and reference 'nd_tbl' only when IPV6 is enabled. > > Fixes: d5eb89cf68d6 ("mlxsw: spectrum_router: Reflect IPv6 neighbours to the > device") > Signed-off-by: Ido Schimmel <[email protected]> > Reported-by: kbuild test robot <[email protected]> > Signed-off-by: Jiri Pirko <[email protected]> Applied.
