]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: move lif mutex setup and delete
authorShannon Nelson <snelson@pensando.io>
Fri, 1 Oct 2021 18:05:53 +0000 (11:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Oct 2021 13:00:21 +0000 (14:00 +0100)
commit23ed72b62ffe2ddfbf672f0796f3244ac0b39052
treeb5f87e14f1e3d048d7f652349bf86fc317d63df7
parentcf00c3d52f93f8f96e986fe7e39ed84ec23af6d6
ionic: move lif mutex setup and delete

Move creation and deletion of lif mutex a level out to
lif creation and delete, rather than in init and deinit.
This assures that nothing will get hung if anything is waiting
on the mutex while the driver is clearing the lif while handling
the fw_down/fw_up cycle.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c