diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-02-15 12:33:03 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-15 13:23:58 +0100 |
commit | 853bad5af293c6291894892237ddecbd24e370c8 (patch) | |
tree | 1dca663b5aa412991b9e5d10f4f6f13b655a7e09 /target/linux/mediatek | |
parent | df49e49bc7834ad3257d1b10972854a14605a67c (diff) | |
download | upstream-853bad5af293c6291894892237ddecbd24e370c8.tar.gz upstream-853bad5af293c6291894892237ddecbd24e370c8.tar.bz2 upstream-853bad5af293c6291894892237ddecbd24e370c8.zip |
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: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/mediatek')
0 files changed, 0 insertions, 0 deletions