diff options
author | Jiri Pirko <jiri@resnulli.us> | 2012-07-17 01:22:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 12:02:36 -0400 |
commit | bd2d0837abc0206ecdd3f6b9fc8c25b55b63c96b (patch) | |
tree | d420a4e51965ae8b680562535d7ec9aace815f8e /drivers/net/team/team_mode_loadbalance.c | |
parent | 30fdd8a082a00126a6feec994e43e8dc12f5bccb (diff) |
team: add netpoll support
It's done in very similar way this is done in bonding and bridge.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team/team_mode_loadbalance.c')
-rw-r--r-- | drivers/net/team/team_mode_loadbalance.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/team/team_mode_loadbalance.c b/drivers/net/team/team_mode_loadbalance.c index 51a4b199c75c..cdc31b5ea15e 100644 --- a/drivers/net/team/team_mode_loadbalance.c +++ b/drivers/net/team/team_mode_loadbalance.c | |||
@@ -217,8 +217,7 @@ static bool lb_transmit(struct team *team, struct sk_buff *skb) | |||
217 | port = select_tx_port_func(team, lb_priv, skb, hash); | 217 | port = select_tx_port_func(team, lb_priv, skb, hash); |
218 | if (unlikely(!port)) | 218 | if (unlikely(!port)) |
219 | goto drop; | 219 | goto drop; |
220 | skb->dev = port->dev; | 220 | if (team_dev_queue_xmit(team, port, skb)) |
221 | if (dev_queue_xmit(skb)) | ||
222 | return false; | 221 | return false; |
223 | lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); | 222 | lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); |
224 | return true; | 223 | return true; |