commit | a9097a9666fd7b08fd2a152b2a0b6c8d48639bb2 | [log] [tgz] |
---|---|---|
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | Tue Oct 18 00:01:19 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 19 19:24:16 2011 -0400 |
tree | 1df8d865c78032a9bd00d49c47dd65fa87df7b8c | |
parent | 79ee1dc32b945ad71248332f3a3b355332ad3376 [diff] |
stmmac: protect tx process with lock (V4) This patch fixes a problem raised on Orly ARM SMP platform where, in case of fragmented frames, the descriptors in the TX ring resulted broken. This was due to a missing lock protection in the tx process. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Tested-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>