diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-02-21 19:54:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-22 21:24:51 -0800 |
commit | 2a60c460b5889d5892ac809f7a26ab89e2580bf8 (patch) | |
tree | 1b0250ad6ce97aea3253840b7d0ce9edef5adb8a /drivers/net/mii.c | |
parent | f38656d067257cc43b652958dd154e1ab0773701 (diff) |
mlxsw: spectrum_router: Expose router struct to internal users
The dpipe code accesses internal router data structures and acquires
RTNL to protect against their changes. Subsequent patches will remove
reliance on RTNL and introduce a dedicated lock to protect router data
structures.
Publish the router struct to internal users such as the dpipe, so that
they could acquire it instead of RTNL.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mii.c')
0 files changed, 0 insertions, 0 deletions