summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/safe_serial.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-03-04 17:59:12 +0100
committerTheodore Ts'o <tytso@mit.edu>2013-03-04 18:05:15 +0100
commitb980955236922ae6106774511c5c05003d3ad225 (patch)
tree3eba34d4587e58ec7b15e8fb4af5572620288fe6 /drivers/usb/serial/safe_serial.c
parentLinux 3.8 (diff)
downloadlinux-b980955236922ae6106774511c5c05003d3ad225.tar.xz
linux-b980955236922ae6106774511c5c05003d3ad225.zip
random: fix locking dependency with the tasklist_lock
Commit 6133705494bb introduced a circular lock dependency because posix_cpu_timers_exit() is called by release_task(), which is holding a writer lock on tasklist_lock, and this can cause a deadlock since kill_fasync() gets called with nonblocking_pool.lock taken. There's no reason why kill_fasync() needs to be taken while the random pool is locked, so move it out to fix this locking dependency. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reported-by: Russ Dill <Russ.Dill@gmail.com> Cc: stable@kernel.org
Diffstat (limited to 'drivers/usb/serial/safe_serial.c')
0 files changed, 0 insertions, 0 deletions