net: arc_emac: prevent reuse of unreclaimed tx descriptors
authorBeniamino Galvani <b.galvani@gmail.com>
Wed, 10 Sep 2014 20:50:03 +0000 (22:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2014 21:18:03 +0000 (17:18 -0400)
This patch changes the logic in tx path to ensure that tx descriptors
are reused for transmission only after they have been reclaimed by
arc_emac_tx_clean().

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found