Netanel Belgazal 944b28aa29 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 <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-09 07:59:56 -07:00
..
2018-08-03 12:54:54 -07:00
2018-07-11 23:10:19 -07:00
2018-07-20 12:33:37 -07:00
2018-07-29 12:57:26 -07:00
2018-08-16 12:22:31 -07:00