From: Bob Copeland Date: Wed, 15 Apr 2009 11:57:36 +0000 (-0400) Subject: ath5k: manipulate rxlink and descriptor address under rxbuf lock X-Git-Tag: v2.6.31-rc1~330^2~568^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26925042b6b105995ee54c6015e95f0caf9632d6;p=pandora-kernel.git ath5k: manipulate rxlink and descriptor address under rxbuf lock Grabbing an ath5k_buf then dropping the lock is racy because the referenced descriptor can be obtained in another thread and released before the buffer is handed to the hardware. Likewise, manipulating sc->rxlink without the lock can lead to having multiple self-linked hardware descriptors. Changes-licensed-under: 3-Clause-BSD Signed-off-by: Bob Copeland Acked-by: Nick Kossifidis Signed-off-by: John W. Linville --- Reading git-diff-tree failed