]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Use correct config option
authorIdo Schimmel <idosch@mellanox.com>
Tue, 15 Aug 2017 07:10:33 +0000 (09:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 00:05:03 +0000 (17:05 -0700)
commit35c32fb5e712181cb568cc8d17a0a433140fd3da
treefa376ebce4d669730bd8718a576b77e88cba84f3
parentf04b6aa44f9661f848e4dfa34e07f12acfb3b027
mlxsw: spectrum_router: Use correct config option

I made an embarrassing mistake and used 'IPV6' instead of 'CONFIG_IPV6'
around the function that updates the kernel about IPv6 neighbours
activity. This can be a problem if the kernel has more neighbours than a
certain threshold and it starts deleting those that are supposedly
inactive.

Fixes: 7f8b3cbbe690 ("mlxsw: spectrum_router: Fix build when IPv6 isn't enabled")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c