mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 19:50:53 +07:00
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
Block a user