]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2eabfaf8eb38a8a328dab7cb700a270e64c09a27
tree2bc7d9d77c1a0ebaa67da84ddea45d5d2db789dc
parenta427cb1986e9a82664d7e5409982f2f0c8b8acc0
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