diff options
Diffstat (limited to 'drivers/net/team')
-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 b34427502b54..f4d960e82e29 100644 --- a/drivers/net/team/team_mode_activebackup.c +++ b/drivers/net/team/team_mode_activebackup.c | |||
@@ -56,7 +56,7 @@ drop: | |||
56 | static void ab_port_leave(struct team *team, struct team_port *port) | 56 | static void ab_port_leave(struct team *team, struct team_port *port) |
57 | { | 57 | { |
58 | if (ab_priv(team)->active_port == port) | 58 | if (ab_priv(team)->active_port == port) |
59 | rcu_assign_pointer(ab_priv(team)->active_port, NULL); | 59 | RCU_INIT_POINTER(ab_priv(team)->active_port, NULL); |
60 | } | 60 | } |
61 | 61 | ||
62 | static int ab_active_port_get(struct team *team, void *arg) | 62 | static int ab_active_port_get(struct team *team, void *arg) |