Commit aa2ecb7c authored by Johannes Berg's avatar Johannes Berg Committed by David S. Miller

um: vector netdev: adjust to xmit_more API change

Replace skb->xmit_more usage by netdev_xmit_more().

Fixes: 4f296ede ("drivers: net: aurora: use netdev_xmit_more helper")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c90d1e4b
...@@ -1043,7 +1043,7 @@ static int vector_net_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -1043,7 +1043,7 @@ static int vector_net_start_xmit(struct sk_buff *skb, struct net_device *dev)
vector_send(vp->tx_queue); vector_send(vp->tx_queue);
return NETDEV_TX_OK; return NETDEV_TX_OK;
} }
if (skb->xmit_more) { if (netdev_xmit_more()) {
mod_timer(&vp->tl, vp->coalesce); mod_timer(&vp->tl, vp->coalesce);
return NETDEV_TX_OK; return NETDEV_TX_OK;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment