]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix race in aggregation reorder logic
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Wed, 30 May 2012 06:57:11 +0000 (12:27 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 11 Jun 2012 13:13:41 +0000 (16:13 +0300)
commit3cc4e8a90a48a508a1b63c2323db8d867ab51b00
tree004a1d372b01b330869b99591762674351302b30
parent074d3e587cc08f8690bfe4d29ac8852e9c7a14ed
ath6kl: Fix race in aggregation reorder logic

There are many places where tid data are accessed without
the lock (rxtid->lock), this can lead to a race condition
when the timeout handler for aggregatin reorder and the
receive function are getting executed at the same time.
Fix this race, but still there are races which can not
be fixed without rewriting the whole aggregation reorder
logic, for now fix the obvious ones.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/txrx.c