aboutsummaryrefslogtreecommitdiff
path: root/lib/prio_tree.c
diff options
context:
space:
mode:
authorPaul Fox <pgf@laptop.org>2011-05-09 10:40:42 +0100
committerWilly Tarreau <w@1wt.eu>2012-02-11 15:37:26 +0100
commit4989f242b6aeea03f01e056a432a027bdc1a7094 (patch)
tree62879cb8bcee32c0b796310e041627848c1be227 /lib/prio_tree.c
parent78502a11878ae97dab80957b5f1a57c2ac556202 (diff)
libertas: fix cmdpendingq locking
commit 2ae1b8b35faba31a59b153cbad07f9c15de99740 upstream. We occasionally see list corruption using libertas. While we haven't been able to diagnose this precisely, we have spotted a possible cause: cmdpendingq is generally modified with driver_lock held. However, there are a couple of points where this is not the case. Fix up those operations to execute under the lock, it seems like the correct thing to do and will hopefully improve the situation. Signed-off-by: Paul Fox <pgf@laptop.org> Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'lib/prio_tree.c')
0 files changed, 0 insertions, 0 deletions