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>
This commit is contained in:

committed by
David S. Miller

parent
30fdd8a082
commit
bd2d0837ab
@@ -55,8 +55,7 @@ static bool rr_transmit(struct team *team, struct sk_buff *skb)
|
||||
port = __get_first_port_up(team, port);
|
||||
if (unlikely(!port))
|
||||
goto drop;
|
||||
skb->dev = port->dev;
|
||||
if (dev_queue_xmit(skb))
|
||||
if (team_dev_queue_xmit(team, port, skb))
|
||||
return false;
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user