diff options
author | Netanel Belgazal <[email protected]> | 2018-09-09 08:15:24 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-09-09 07:59:56 -0700 |
commit | 944b28aa2982b4590d4d4dfc777cf85135dca2c0 (patch) | |
tree | 69520b05ade630919994b950735df930ade498c1 /scripts/gdb/linux/lists.py | |
parent | fe870c77efdf8682252545cbd3d29800d8379efc (diff) |
net: ena: fix missing lock during device destruction
acquire the rtnl_lock during device destruction to avoid
using partially destroyed device.
ena_remove() shares almost the same logic as ena_destroy_device(),
so use ena_destroy_device() and avoid duplications.
Signed-off-by: Netanel Belgazal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions