diff options
| author | Andres Lagar-Cavilla <[email protected]> | 2013-01-15 03:35:40 +0000 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2013-01-15 21:00:52 +0000 |
| commit | 99beae6cb8f4dd5dab81a370b79c3b1085848d89 (patch) | |
| tree | fa508d4649e0046b318221254fb2c496ca51e818 /net/unix/garbage.c | |
| parent | Merge tag 'v3.7' into stable/for-linus-3.8 (diff) | |
| download | kernel-99beae6cb8f4dd5dab81a370b79c3b1085848d89.tar.gz kernel-99beae6cb8f4dd5dab81a370b79c3b1085848d89.zip | |
xen/privcmd: Fix mmap batch ioctl.
1. If any individual mapping error happens, the V1 case will mark *all*
operations as failed. Fixed.
2. The err_array was allocated with kcalloc, resulting in potentially O(n) page
allocations. Refactor code to not use this array.
Signed-off-by: Andres Lagar-Cavilla <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
