net: make all team port device link events urgent
Since team functionality relies heavily on userspace daemon, we need to deliver event to userspace via Netlink as quick as possible. So make all team port device link events urgent. Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a06a2d378d
commit
194f4a6df2
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue