diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-02-15 12:33:03 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-15 12:35:17 +0100 |
commit | 1e1a0592f8309a8253e39d0f6a42193e60d80d23 (patch) | |
tree | cb55015e5d1f6d8e8643c88cf7cbaed400553231 /include | |
parent | 2a6fbce1218e7ed8ffaf997b1da03be244d744c9 (diff) | |
download | upstream-1e1a0592f8309a8253e39d0f6a42193e60d80d23.tar.gz upstream-1e1a0592f8309a8253e39d0f6a42193e60d80d23.tar.bz2 upstream-1e1a0592f8309a8253e39d0f6a42193e60d80d23.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 'include')
0 files changed, 0 insertions, 0 deletions