]> 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)
commit7ed7f776dbe7a951285a439118838b890267d23e
tree2bc7d9d77c1a0ebaa67da84ddea45d5d2db789dc
parentcadddaee37a67fa686245fecc293252de830b8a9
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