summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/wil6210/cfg80211.c
diff options
context:
space:
mode:
authorMaya Erez <qca_merez@qca.qualcomm.com>2016-08-18 16:52:15 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2016-08-19 13:11:23 +0300
commitdc90506f145875b9d88160802cc5fe06a7c79dda (patch)
tree8efea004c80f8747ecadf612bb93720b7d61dd59 /drivers/net/wireless/ath/wil6210/cfg80211.c
parentb0c0e688e523eba14abf21ac246b7dd88f5574fa (diff)
downloadlinux-dc90506f145875b9d88160802cc5fe06a7c79dda.tar.xz
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 'drivers/net/wireless/ath/wil6210/cfg80211.c')
0 files changed, 0 insertions, 0 deletions