diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2017-07-24 10:56:00 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-25 03:15:17 +0300 |
| commit | b5f3e0d430122a551cbc2b88068dae8b2c2c0031 (patch) | |
| tree | 57f1140cea6935efd00263af8389cc5faeba2069 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | f3eebe88195478b1bfbe8510d58a8c226ea759a8 (diff) | |
| download | linux-b5f3e0d430122a551cbc2b88068dae8b2c2c0031.tar.xz | |
mlxsw: spectrum_router: Fix build when IPv6 isn't enabled
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@mellanox.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
