net: fec: don't transfer ownership until descriptor write is complete
authorTroy Kisky <troy.kisky@boundarydevices.com>
Fri, 5 Feb 2016 21:52:49 +0000 (14:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 11:14:51 +0000 (06:14 -0500)
commitbe293467b87c30cfdb24f74dcb225b693e436121
tree0f639b16e2f3121a1636dfe2cb48c0e7548dc187
parent80dc6a9f8e0dfb3f2c516273b2faa29c866974b2
net: fec: don't transfer ownership until descriptor write is complete

If you don't own it, you shouldn't write to it.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c