summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-05-22 06:31:03 +0000
committeradrian <adrian@FreeBSD.org>2012-05-22 06:31:03 +0000
commita217e03ba9045e1052cf9bcd4272070d9d1991a9 (patch)
tree95227660500c3c837fc0fccb0401364d1220cf4e /contrib/diff/src
parenta1e4bfc55a124addbb8eb372c239084f0481be9e (diff)
downloadFreeBSD-src-a217e03ba9045e1052cf9bcd4272070d9d1991a9.zip
FreeBSD-src-a217e03ba9045e1052cf9bcd4272070d9d1991a9.tar.gz
Fix up some corner cases with aggregation handling.
I've come across a weird scenario in net80211 where two TX streams will happily attempt to setup an aggregation session together. If we're very lucky, it happens concurrently on separate CPUs and the total lack of locking in the net80211 aggregation code causes this stuff to race. Badly. So >1 call would occur to the ath(4) addba start, but only one call would complete to addba complete or timeout. The TID would thus stay paused. The real fix is to implement some proper per-node (or maybe per-TID) locking in net80211, which then could be leveraged by the ath(4) TX aggregation code. Whilst I'm at it, shuffle around the debugging messages a bit. I like to keep people on their toes.
Diffstat (limited to 'contrib/diff/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud