]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_dpipe: Fix entries dump of the adjacency table
authorArkadi Sharshevsky <arkadis@mellanox.com>
Tue, 24 Oct 2017 08:11:42 +0000 (10:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 10:02:02 +0000 (19:02 +0900)
commit0fd5a83b15ce80d45735e5d6f6a4fe22143af912
treeb5299e409cd92094d0fc14dda0b56ee3b7e1a61f
parent446e26284452ee216a5acb040bf7b650665f9404
mlxsw: spectrum_dpipe: Fix entries dump of the adjacency table

During the dump the per netlink packet entry counter should be zeroed out
when new packet is created.

Fixes: 997c0fadae1a ("mlxsw: spectrum_dpipe: Add support for adjacency table dump")
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Reported-by: David Ahern <dsahern@gmail.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