diff options
author | Maya Erez <[email protected]> | 2016-08-18 16:52:15 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-08-19 13:11:23 +0300 |
commit | dc90506f145875b9d88160802cc5fe06a7c79dda (patch) | |
tree | 8efea004c80f8747ecadf612bb93720b7d61dd59 /tools/perf/scripts/python | |
parent | b0c0e688e523eba14abf21ac246b7dd88f5574fa (diff) |
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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions