]> git.baikalelectronics.ru Git - kernel.git/commit
net: Do not call fib6_info_hw_flags_set() when IPv6 is disabled
authorAmit Cohen <amcohen@nvidia.com>
Mon, 1 Feb 2021 19:47:54 +0000 (21:47 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Feb 2021 01:45:59 +0000 (17:45 -0800)
commit18896df7fb27edd878ac2d80d947a6a5fbb94687
tree7d813fde7ad46d5fe360c246b779267f07174a81
parent4db5a858fb11758d71e257385b8e2d040fa33712
net: Do not call fib6_info_hw_flags_set() when IPv6 is disabled

With the next patch mlxsw and netdevsim will fail in compilation if
CONFIG_IPV6 is disabled.

Do not call fib6_info_hw_flags_set() when IPv6 is disabled.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/netdevsim/fib.c