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)
commit69715dd50d28deb52f84932794a2fce0b18c8b56
treeb5299e409cd92094d0fc14dda0b56ee3b7e1a61f
parent9d452cebd7d69e9eb22b4c0482fdbb6fc762167f
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: 190d38a52a73 ("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