summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.0/305-mips_module_reloc.patch
Commit message (Collapse)AuthorAgeFilesLines
* mips: Free memory when load_module fails (#14453)John Crispin2015-07-071-5/+6
| | | | | | | | | | | | | | | | | | | | | | The mips reloc patch introduced new allocations which were done before add_unformed_module but never freed them in case of an error. A new hook in Linux 3.19 called module_arch_freeing_init can be used for freeing memory which were allocated during this init phase. The problem can be seen when trying to load a module (via busybox insmod) when it was already loaded. free -m for i in `seq 1 100`; do /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null done free -m This simple loop would leak ~3.2 MB. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46247
* kernel: revert section sorting change from r41951Felix Fietkau2015-04-111-1/+1
| | | | | | | | | It currently does not seem to make a difference anymore, except by increasing compressed kernel image size Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45385
* kernel: revert a broken chunk in the mips module reloc patch fixFelix Fietkau2015-03-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44592
* kernel: fix the mips module relocation patch for 3.19+Felix Fietkau2015-03-021-20/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44590
* generic/4.0: refresh patchesImre Kaloz2015-02-241-1/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44532
* generic: early (incomplete!) 4.0 supportRafał Miłecki2015-02-231-0/+352
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44511