Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
anon_vma: clone the anon_vma chain in the right order
We want to walk the chain in reverse order when cloning it, so that the order of the result chain will be the same as the order in the source chain. When we add entries to the chain, they go at the head of the chain, so we want to add the source head last. Reviewed-by: Rik van Riel <[email protected]> Acked-by: Johannes Weiner <[email protected]> Tested-by: Borislav Petkov <[email protected]> [ "No, it still oopses" ] Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information