commit | 74dd40bca95f9968e368751ea81f3b98471109ce | [log] [tgz] |
---|---|---|
author | Beniamino Galvani <b.galvani@gmail.com> | Wed Sep 10 22:50:03 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 12 17:18:03 2014 -0400 |
tree | 3af460f097438ad1de67bc6db1f4c8999e998541 | |
parent | 7ce7679d6bbd1715799a9cf17b9b558bc2d962b7 [diff] |
net: arc_emac: prevent reuse of unreclaimed tx descriptors 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>