commit | 50c173c3a1810d3441aaa074c3ba452238cad60a | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Fri Feb 21 19:54:14 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 22 21:24:51 2020 -0800 |
tree | 84a2857d76500acdf95c95017aacaf81c58906d1 | |
parent | 1be54763e156d5f1888ce272416806f77ae8b816 [diff] |
mlxsw: spectrum_router: Take router lock from exported helpers The routing code exports some helper functions that can be called from other driver modules such as the bridge. These helpers are never called with the router lock already held and therefore need to take it in order to serialize access to shared router structures. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>