mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
ionic: ignore EBUSY on queue start
When starting the queues in the link-check, don't go into the BROKEN state if the return was EBUSY. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5111787455
commit
99b5bea04f
@ -135,7 +135,7 @@ static void ionic_link_status_check(struct ionic_lif *lif)
|
||||
if (netdev->flags & IFF_UP && netif_running(netdev)) {
|
||||
mutex_lock(&lif->queue_lock);
|
||||
err = ionic_start_queues(lif);
|
||||
if (err) {
|
||||
if (err && err != -EBUSY) {
|
||||
netdev_err(lif->netdev,
|
||||
"Failed to start queues: %d\n", err);
|
||||
set_bit(IONIC_LIF_F_BROKEN, lif->state);
|
||||
|
Loading…
Reference in New Issue
Block a user