Skip to content
Snippets Groups Projects
Commit 1e1a0592 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

kernel: fix crashes on MIPS when loading kernel modules under memory pressure


When memory is tight, modules may need to be loaded into vmalloc()
space. The code then has to generate jump trampolines which enable
relocations between vmalloc space and physical address space.

The code had a bug that was freeing these trampolines even when the
module was successfully loaded.

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 2a6fbce1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment