diff options
-rw-r--r-- | drivers/net/team/team_mode_loadbalance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team_mode_loadbalance.c b/drivers/net/team/team_mode_loadbalance.c index b4475a5d2d4b..c385b45cad18 100644 --- a/drivers/net/team/team_mode_loadbalance.c +++ b/drivers/net/team/team_mode_loadbalance.c | |||
@@ -97,7 +97,7 @@ static void lb_tx_hash_to_port_mapping_null_port(struct team *team, | |||
97 | 97 | ||
98 | pm = &lb_priv->ex->tx_hash_to_port_mapping[i]; | 98 | pm = &lb_priv->ex->tx_hash_to_port_mapping[i]; |
99 | if (rcu_access_pointer(pm->port) == port) { | 99 | if (rcu_access_pointer(pm->port) == port) { |
100 | rcu_assign_pointer(pm->port, NULL); | 100 | RCU_INIT_POINTER(pm->port, NULL); |
101 | team_option_inst_set_change(pm->opt_inst_info); | 101 | team_option_inst_set_change(pm->opt_inst_info); |
102 | changed = true; | 102 | changed = true; |
103 | } | 103 | } |