summaryrefslogtreecommitdiffstats
path: root/drivers/net/team/team_mode_broadcast.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2012-07-17 05:22:36 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-17 09:02:36 -0700
commitbd2d0837abc0206ecdd3f6b9fc8c25b55b63c96b (patch)
treed420a4e51965ae8b680562535d7ec9aace815f8e /drivers/net/team/team_mode_broadcast.c
parent30fdd8a082a00126a6feec994e43e8dc12f5bccb (diff)
downloadtalos-op-linux-bd2d0837abc0206ecdd3f6b9fc8c25b55b63c96b.tar.gz
talos-op-linux-bd2d0837abc0206ecdd3f6b9fc8c25b55b63c96b.zip
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_broadcast.c')
-rw-r--r--drivers/net/team/team_mode_broadcast.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/team/team_mode_broadcast.c b/drivers/net/team/team_mode_broadcast.c
index 5562345e9cef..c96e4d2967f0 100644
--- a/drivers/net/team/team_mode_broadcast.c
+++ b/drivers/net/team/team_mode_broadcast.c
@@ -29,8 +29,8 @@ static bool bc_transmit(struct team *team, struct sk_buff *skb)
if (last) {
skb2 = skb_clone(skb, GFP_ATOMIC);
if (skb2) {
- skb2->dev = last->dev;
- ret = dev_queue_xmit(skb2);
+ ret = team_dev_queue_xmit(team, last,
+ skb2);
if (!sum_ret)
sum_ret = ret;
}
@@ -39,8 +39,7 @@ static bool bc_transmit(struct team *team, struct sk_buff *skb)
}
}
if (last) {
- skb->dev = last->dev;
- ret = dev_queue_xmit(skb);
+ ret = team_dev_queue_xmit(team, last, skb);
if (!sum_ret)
sum_ret = ret;
}
OpenPOWER on IntegriCloud