From: Jiri Pirko <j...@resnulli.us>
Date: Mon, 24 Jul 2017 09:56:00 +0200

> From: Ido Schimmel <ido...@mellanox.com>
> 
> 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 <ido...@mellanox.com>
> Reported-by: kbuild test robot <fengguang...@intel.com>
> Signed-off-by: Jiri Pirko <j...@mellanox.com>

Applied.

Reply via email to