summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-07-24 09:56:00 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-24 17:15:17 -0700
commitb5f3e0d430122a551cbc2b88068dae8b2c2c0031 (patch)
tree57f1140cea6935efd00263af8389cc5faeba2069 /net/ipv4/tcp_input.c
parentf3eebe88195478b1bfbe8510d58a8c226ea759a8 (diff)
downloadlinux-b5f3e0d430122a551cbc2b88068dae8b2c2c0031.tar.bz2
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 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions