https://github.com/torvalds/linux
Revision daeba89d43af0fa469d38a4ccdc32fff8ca17c2e authored by Trond Myklebust on 31 March 2008, 21:02:02 UTC, committed by Trond Myklebust on 09 April 2008, 01:06:50 UTC
Fix a problem in _copy_to_pages(), whereby it may call flush_dcache_page()
with an invalid pointer due to the fact that 'pgto' gets incremented
beyond the end of the page array. Fix is to exit the loop without this
unnecessary increment of pgto.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
1 parent 7180c4c
History
Tip revision: daeba89d43af0fa469d38a4ccdc32fff8ca17c2e authored by Trond Myklebust on 31 March 2008, 21:02:02 UTC
SUNRPC: don't call flush_dcache_page() with an invalid pointer
Tip revision: daeba89
File Mode Size
Kconfig -rw-r--r-- 2.0 KB
Kconfig.iosched -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 530 bytes
as-iosched.c -rw-r--r-- 38.1 KB
blk-barrier.c -rw-r--r-- 7.7 KB
blk-core.c -rw-r--r-- 53.8 KB
blk-exec.c -rw-r--r-- 2.6 KB
blk-ioc.c -rw-r--r-- 4.0 KB
blk-map.c -rw-r--r-- 7.1 KB
blk-merge.c -rw-r--r-- 12.1 KB
blk-settings.c -rw-r--r-- 13.2 KB
blk-sysfs.c -rw-r--r-- 7.6 KB
blk-tag.c -rw-r--r-- 9.5 KB
blk.h -rw-r--r-- 1.7 KB
blktrace.c -rw-r--r-- 11.4 KB
bsg.c -rw-r--r-- 22.4 KB
cfq-iosched.c -rw-r--r-- 53.9 KB
compat_ioctl.c -rw-r--r-- 22.0 KB
deadline-iosched.c -rw-r--r-- 11.5 KB
elevator.c -rw-r--r-- 25.9 KB
genhd.c -rw-r--r-- 17.8 KB
ioctl.c -rw-r--r-- 7.0 KB
noop-iosched.c -rw-r--r-- 2.6 KB
scsi_ioctl.c -rw-r--r-- 16.9 KB

back to top