diff options
author | Ingo Molnar <mingo@kernel.org> | 2020-01-25 12:05:23 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-01-25 12:05:23 +0300 |
commit | f8a4bb6bfa639fbdd07aede615be6dffe86a9713 (patch) | |
tree | 158a3e44edfd02bb81addfb779ea1850114f3361 /drivers/net/wireless/mediatek/mt76 | |
parent | 4703d9119972bf586d2cca76ec6438f819ffa30e (diff) | |
parent | 0e247386d9ed5ab8b7dad010cf4b183efeb1e47d (diff) | |
download | linux-f8a4bb6bfa639fbdd07aede615be6dffe86a9713.tar.xz |
Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu
Pull RCU updates from Paul E. McKenney:
- Expedited grace-period updates
- kfree_rcu() updates
- RCU list updates
- Preemptible RCU updates
- Torture-test updates
- Miscellaneous fixes
- Documentation updates
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/agg-rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/agg-rx.c b/drivers/net/wireless/mediatek/mt76/agg-rx.c index 53b5a4b2dcc5..59c187898132 100644 --- a/drivers/net/wireless/mediatek/mt76/agg-rx.c +++ b/drivers/net/wireless/mediatek/mt76/agg-rx.c @@ -281,8 +281,8 @@ void mt76_rx_aggr_stop(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno) { struct mt76_rx_tid *tid = NULL; - rcu_swap_protected(wcid->aggr[tidno], tid, - lockdep_is_held(&dev->mutex)); + tid = rcu_replace_pointer(wcid->aggr[tidno], tid, + lockdep_is_held(&dev->mutex)); if (tid) { mt76_rx_aggr_shutdown(dev, tid); kfree_rcu(tid, rcu_head); |