projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddf967b
)
team: account for oper state
author
George Wilkie
<
[email protected]
>
Thu, 19 Apr 2018 10:34:14 +0000
(11:34 +0100)
committer
David S. Miller
<
[email protected]
>
Fri, 20 Apr 2018 15:05:19 +0000
(11:05 -0400)
Account for operational state when determining port linkup state,
as per Documentation/networking/operstates.txt.
Signed-off-by: George Wilkie <
[email protected]
>
Acked-by: Jiri Pirko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/team/team.c
patch
|
blob
|
history
diff --git
a/drivers/net/team/team.c
b/drivers/net/team/team.c
index a6c6ce19eeee7cd2899946655f3a6deca90cbe08..8a8611095ca066aa8b2fdc2b2599bdfbd02296de 100644
(file)
--- a/
drivers/net/team/team.c
+++ b/
drivers/net/team/team.c
@@
-2918,7
+2918,7
@@
static int team_device_event(struct notifier_block *unused,
case NETDEV_CHANGE:
if (netif_running(port->dev))
team_port_change_check(port,
- !!netif_
carrier_ok
(port->dev));
+ !!netif_
oper_up
(port->dev));
break;
case NETDEV_UNREGISTER:
team_del_slave(port->team->dev, dev);