diff options
| author | 2018-12-19 06:08:50 +0000 | |
|---|---|---|
| committer | 2018-12-19 12:28:07 -0800 | |
| commit | b61cd7c6f992cca57166d0cabe242c49b93609eb (patch) | |
| tree | a1232a8689b45d3c26319b3f10efd63a21150d9a /include | |
| parent | mlxsw: spectrum_router: Make RIF deletion more robust (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 'include')
0 files changed, 0 insertions, 0 deletions
