diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-08-30 16:49:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-03 22:21:15 -0400 |
commit | ca32723afedd65d612029705446bf44bde5eab14 (patch) | |
tree | ab65afe5d86f42a087990bce3b94f36470ac58b6 /security | |
parent | 1a1d4d2f30a3c7e91bb7876df95baae363be5434 (diff) |
net: calxedaxgmac: update ring buffer tx_head after barriers
Ensure that the descriptor writes are visible before the ring buffer head
is updated. Since writel is a barrier, we can simply update the head after
the writel.
Reported-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions