diff options
author | George Wilkie <[email protected]> | 2019-02-20 08:19:11 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-22 11:40:23 -0800 |
commit | 8c7a77267eec81dd81af8412f29e50c0b1082548 (patch) | |
tree | ea0abef5c43ee2f5d52c8d09e7ef32fa8620d7d7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c286909fe5458f69e533c845b757fd2c35064d26 (diff) |
team: use operstate consistently for linkup
When a port is added to a team, its initial state is derived
from netif_carrier_ok rather than netif_oper_up.
If it is carrier up but operationally down at the time of being
added, the port state.linkup will be set prematurely.
port state.linkup should be set consistently using
netif_oper_up rather than netif_carrier_ok.
Fixes: f1d22a1e0595 ("team: account for oper state")
Signed-off-by: George Wilkie <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions