]> 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)
commitb3db9092ce6ed56c2d150653f78c39d3ed506baa
treeae2185506c426095346e050d13697667947dc828
parent1f9cf5392fc021251351b9089a6a4ebf3f459020
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