summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/lib/U3patch.S
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-07-10 11:00:01 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-24 20:35:24 -0700
commit5bd9689ce4b9ffd657be1462f4b2f5a0d10cd450 (patch)
treefc298adc416f5ca573d24dcc65acd4994d726dd9 /arch/sparc64/lib/U3patch.S
parent015b18b4bff96be06c0396c03650be06091dafbc (diff)
downloadlinux-stable-5bd9689ce4b9ffd657be1462f4b2f5a0d10cd450.tar.gz
linux-stable-5bd9689ce4b9ffd657be1462f4b2f5a0d10cd450.tar.bz2
linux-stable-5bd9689ce4b9ffd657be1462f4b2f5a0d10cd450.zip
splice: fix problems with sys_tee()
Several issues noticed/fixed: - We cannot reliably block in link_pipe() while holding both input and output mutexes. So do preparatory checks before locking down both mutexes and doing the link. - The ipipe->nrbufs vs i check was bad, because we could have dropped the ipipe lock in-between. This causes us to potentially look at unknown buffers if we were racing with someone else reading this pipe. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/sparc64/lib/U3patch.S')
0 files changed, 0 insertions, 0 deletions