diff options
author | 2008-03-17 22:58:15 -0500 | |
---|---|---|
committer | 2008-03-17 22:58:19 +1100 | |
commit | bdc1681cdf1ab6a65fa935a2b3f8fc63b20c54ea (patch) | |
tree | 17910bdca2cee81b0d4a3ee877aec82db0017a09 /kernel | |
parent | virtio: Fix sysfs bits to have proper block symlink (diff) | |
download | linux-rng-bdc1681cdf1ab6a65fa935a2b3f8fc63b20c54ea.tar.xz linux-rng-bdc1681cdf1ab6a65fa935a2b3f8fc63b20c54ea.zip |
virtio: handle > 2 billion page balloon targets
If the host asks for a huge target towards_target() can overflow, and
we up oops as we try to release more pages than we have. The simple
fix is to use a 64-bit value.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions