]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
relay: fix subbuf_splice_actor() adding too many pages
authorJens Axboe <jens.axboe@oracle.com>
Mon, 17 Mar 2008 08:04:59 +0000 (09:04 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 17 Mar 2008 08:04:59 +0000 (09:04 +0100)
commit16d54669427069ef2823752c365d695b0cc4748f
treeab971bc703f790b90697d29a1e65a793b7f87628
parent2af3e6017e53065ddf40bb19190a29199b7ffee3
relay: fix subbuf_splice_actor() adding too many pages

If subbuf_pages was larger than the max number of pages the pipe
buffer will hold, subbuf_splice_actor() would happily go beyond
the array size.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
kernel/relay.c