summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2014-11-04 17:08:05 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-05 16:22:56 -0500
commit16ee817e4365cdfe665ae8d6f6bc8f09befa1272 (patch)
tree32e8e721051138198ae714cdcbcb3cacc6bbe444 /tools/perf/scripts/python/syscall-counts.py
parentb994ca6b67ade73c2d69c00a449ad7006cd4546e (diff)
stmmac: fix stmmac_tx_avail should be called with TX locked
stmmac_tx_avail() may lie if used unprotected. It's using cur_tx and dirty_tx index. These index may be already in use by tx_clean when entering xmit routine. So, this should be called locked. This can cause transmit queue to be stuck, with following message: NETDEV WATCHDOG: eth0 (stmmaceth): transmit queue 0 timed out Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions