]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_mr: Protect multicast route list with a lock
authorIdo Schimmel <idosch@mellanox.com>
Fri, 21 Feb 2020 17:54:06 +0000 (19:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Feb 2020 05:24:51 +0000 (21:24 -0800)
commit3c9819964adca14f80c33c1da02cbacb7207d3b3
tree1c394cd94aa4bb82c0edd2d4b3a1c9fccedc2095
parent0c16ce384dab972abd0ffbf9b05a45d6d5639770
mlxsw: spectrum_mr: Protect multicast route list with a lock

Protect the per-table multicast route list with a lock and remove RTNL
from the delayed work that periodically updates the kernel about packets
and bytes statistics from each multicast route.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c