diff options
| author | Ido Schimmel <[email protected]> | 2017-07-24 09:56:00 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-24 17:15:17 -0700 |
| commit | b5f3e0d430122a551cbc2b88068dae8b2c2c0031 (patch) | |
| tree | 57f1140cea6935efd00263af8389cc5faeba2069 /tools/perf/scripts/python | |
| parent | f3eebe88195478b1bfbe8510d58a8c226ea759a8 (diff) | |
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 <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions