summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-12-19 06:08:50 +0000
committerDavid S. Miller <davem@davemloft.net>2018-12-19 12:28:07 -0800
commitb61cd7c6f992cca57166d0cabe242c49b93609eb (patch)
treea1232a8689b45d3c26319b3f10efd63a21150d9a /tools/testing/selftests/drivers
parent965fa8e600d28d98e7e0c7340517a9c139843ee3 (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/selftests/drivers')
0 files changed, 0 insertions, 0 deletions