]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_dpipe: Fix host table dump
authorArkadi Sharshevsky <arkadis@mellanox.com>
Sat, 26 Aug 2017 06:35:39 +0000 (08:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 22:41:15 +0000 (15:41 -0700)
commit43f80cd7c33b316ec91f5c6ab8e02a9631b73602
treeae2185506c426095346e050d13697667947dc828
parentc1b5f43ad009d2cad2b90b701f736742cb164a2a
mlxsw: spectrum_dpipe: Fix host table dump

During the neighbor traversal the neighbors from different families
should be ignored.

Fixes: c58035a74aba ("mlxsw: spectrum_dpipe: Add support for IPv4 host table dump")
Signed-off-by: Arkadi Sharshevsky <arkadis@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_dpipe.c