diff options
| author | Maya Erez <qca_merez@qca.qualcomm.com> | 2016-08-18 16:52:15 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-08-19 13:11:23 +0300 |
| commit | dc90506f145875b9d88160802cc5fe06a7c79dda (patch) | |
| tree | 8efea004c80f8747ecadf612bb93720b7d61dd59 /tools/perf/scripts/python/stackcollapse.py | |
| parent | wil6210: Fix driver down flow (diff) | |
| download | linux-dc90506f145875b9d88160802cc5fe06a7c79dda.tar.gz linux-dc90506f145875b9d88160802cc5fe06a7c79dda.zip | |
wil6210: prevent usage of incorrect TX hwtail
txdata->enabled is used in order to determine if the TX vring
is valid. As the data transmit is handled in a different context,
in case txdata->enabled is set before vring->hwtail is updated,
an old or corrupted vring->hwtail can be used.
Protect setting of txdata->enabled and vring->hwtail to prevent a
case where TX vring start handling TX packets before setting
vring->hwtail.
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
