diff options
Diffstat (limited to 'drivers/net/team/team_mode_activebackup.c')
-rw-r--r-- | drivers/net/team/team_mode_activebackup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/team/team_mode_activebackup.c b/drivers/net/team/team_mode_activebackup.c index 253b8a5f3427..6262b4defd93 100644 --- a/drivers/net/team/team_mode_activebackup.c +++ b/drivers/net/team/team_mode_activebackup.c | |||
@@ -43,8 +43,7 @@ static bool ab_transmit(struct team *team, struct sk_buff *skb) | |||
43 | active_port = rcu_dereference_bh(ab_priv(team)->active_port); | 43 | active_port = rcu_dereference_bh(ab_priv(team)->active_port); |
44 | if (unlikely(!active_port)) | 44 | if (unlikely(!active_port)) |
45 | goto drop; | 45 | goto drop; |
46 | skb->dev = active_port->dev; | 46 | if (team_dev_queue_xmit(team, active_port, skb)) |
47 | if (dev_queue_xmit(skb)) | ||
48 | return false; | 47 | return false; |
49 | return true; | 48 | return true; |
50 | 49 | ||