diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-04-15 07:57:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:15 -0400 |
commit | 26925042b6b105995ee54c6015e95f0caf9632d6 (patch) | |
tree | 9305c7204ac3aa0bc081b67d36d6ad8a66303c0e /net/ipv6/ipcomp6.c | |
parent | c57ca81576e7ca0369ea52c9ac5f35d0f6ca1270 (diff) |
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 <me@bobcopeland.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ipv6/ipcomp6.c')
0 files changed, 0 insertions, 0 deletions