]> 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)
commit7363801b59a0f080302a7866cc8088ba26673969
tree004a1d372b01b330869b99591762674351302b30
parent48ca040905cdbbba78f11016893167b401860372
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