]> Pileus Git - ~andy/linux/commit
ath9k: remove sc->rx.rxbuflock to fix a deadlock
authorFelix Fietkau <nbd@openwrt.org>
Mon, 14 Jan 2013 09:50:15 +0000 (10:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jan 2013 20:02:21 +0000 (15:02 -0500)
commit463e3ed3eacc8f47866e5d612bd8ee0bcee5e2f0
tree1de19d4abf710b72044d7ec2854d92f5066d5941
parenta1fe52801a992e590cdaee2fb47a94bac9b5da90
ath9k: remove sc->rx.rxbuflock to fix a deadlock

The commit "ath9k: fix rx flush handling" added a deadlock that happens
because ath_rx_tasklet is called in a section that has already taken the
rx buffer lock.

It seems that the only purpose of the rxbuflock was a band-aid fix to the
reset vs rx tasklet race, which has been properly fixed in the commit
"ath9k: add a better fix for the rx tasklet vs rx flush race".

Now that the fix is in, we can safely remove the lock to avoid such issues.

Cc: stable@vger.kernel.org
Reported-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/recv.c