]> Pileus Git - ~andy/linux/blobdiff - net/core/link_watch.c
net: make all team port device link events urgent
[~andy/linux] / net / core / link_watch.c
index 8f82a5cc3851d3a61953a6cad926c9040bc770a7..9c3a839322baccbf69079747a4588079ce46d029 100644 (file)
@@ -92,6 +92,9 @@ static bool linkwatch_urgent_event(struct net_device *dev)
        if (dev->ifindex != dev->iflink)
                return true;
 
+       if (dev->priv_flags & IFF_TEAM_PORT)
+               return true;
+
        return netif_carrier_ok(dev) && qdisc_tx_changing(dev);
 }