diff options
-rw-r--r-- | drivers/net/team/team_mode_activebackup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team_mode_activebackup.c b/drivers/net/team/team_mode_activebackup.c index 6cde1ab8fff0..a715c40e08c9 100644 --- a/drivers/net/team/team_mode_activebackup.c +++ b/drivers/net/team/team_mode_activebackup.c | |||
@@ -72,7 +72,7 @@ static int ab_active_port_set(struct team *team, struct team_gsetter_ctx *ctx) | |||
72 | { | 72 | { |
73 | struct team_port *port; | 73 | struct team_port *port; |
74 | 74 | ||
75 | list_for_each_entry_rcu(port, &team->port_list, list) { | 75 | list_for_each_entry(port, &team->port_list, list) { |
76 | if (port->dev->ifindex == ctx->data.u32_val) { | 76 | if (port->dev->ifindex == ctx->data.u32_val) { |
77 | rcu_assign_pointer(ab_priv(team)->active_port, port); | 77 | rcu_assign_pointer(ab_priv(team)->active_port, port); |
78 | return 0; | 78 | return 0; |