[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170724.171540.1740509445778265155.davem@davemloft.net>
Date: Mon, 24 Jul 2017 17:15:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, idosch@...lanox.com, mlxsw@...lanox.com
Subject: Re: [patch net-next] mlxsw: spectrum_router: Fix build when IPv6
isn't enabled
From: Jiri Pirko <jiri@...nulli.us>
Date: Mon, 24 Jul 2017 09:56:00 +0200
> From: Ido Schimmel <idosch@...lanox.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 <idosch@...lanox.com>
> Reported-by: kbuild test robot <fengguang.wu@...el.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied.
Powered by blists - more mailing lists