mt76: add rcu locking in tid reorder function
authorFelix Fietkau <nbd@nbd.name>
Wed, 25 Apr 2018 09:11:22 +0000 (11:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Apr 2018 10:21:28 +0000 (13:21 +0300)
commit9febfa67ca1566294ea5fd1f95ebf02181e7a233
treebcf3d23c6cd755fdd1917c325ca942f0d9191afb
parentc3d7c82a8bb017e43cafe8eaf7c8309f85ceb781
mt76: add rcu locking in tid reorder function

Avoids having the tid or station entry disappear prematurely.
Also cancel the reorder work earlier to avoid further processing delayed
by waiting for the lock to be released

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/agg-rx.c