diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-12-19 06:08:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 12:28:07 -0800 |
commit | b61cd7c6f992cca57166d0cabe242c49b93609eb (patch) | |
tree | a1232a8689b45d3c26319b3f10efd63a21150d9a /tools/testing | |
parent | 965fa8e600d28d98e7e0c7340517a9c139843ee3 (diff) |
mlxsw: spectrum_router: Hold a reference on RIF's netdev
Previous patches tried to make RIF deletion more robust and avoid
use-after-free situations.
As another precaution, hold a reference on a RIF's netdev and release it
when the RIF is deleted.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions