net: r6040: Check for skb->xmit_more
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 4 Jul 2016 21:36:05 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 07:10:29 +0000 (00:10 -0700)
commit9507ffc2acf04c9b1aa02e346225d268c07d79f0
tree2bc7d9d77c1a0ebaa67da84ddea45d5d2db789dc
parent58e6b056b0daa8f0287061cff2989e9d5e9a9b7c
net: r6040: Check for skb->xmit_more

Kick the transmission only if this is the last SKB to transmit or the
queue is not already stopped.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c