aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/calxeda
diff options
context:
space:
mode:
authorNetanel Belgazal <netanel@amazon.com>2018-09-09 08:15:23 +0000
committerDavid S. Miller <davem@davemloft.net>2018-09-09 07:59:55 -0700
commitfe870c77efdf8682252545cbd3d29800d8379efc (patch)
treea4eea30f5fbaf240b6527854d960a723e2abeb3d /drivers/net/ethernet/calxeda
parentnet: ena: fix device destruction to gracefully free resources (diff)
downloadlinux-dev-fe870c77efdf8682252545cbd3d29800d8379efc.tar.xz
linux-dev-fe870c77efdf8682252545cbd3d29800d8379efc.zip
net: ena: fix potential double ena_destroy_device()
ena_destroy_device() can potentially be called twice. To avoid this, check that the device is running and only then proceed destroying it. Signed-off-by: Netanel Belgazal <netanel@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/calxeda')
0 files changed, 0 insertions, 0 deletions