summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1
Commit message (Collapse)AuthorAgeFilesLines
* kernel: replace cosmetic UBIFS patches with what went upstreamDaniel Golle2016-08-192-30/+14
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: backport upstream challenge ACK fix (CVE-2016-5696)Jo-Philipp Wich2016-08-131-0/+76
| | | | | | | | | | | | Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a patient attacker to hijack TCP sessions. He will soon provide details in an academic paper. Backports upstream commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 to the used LEDE kernel versions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "kernel: remove long obsolete gpio spi controller driver patch"Felix Fietkau2016-08-041-0/+373
| | | | This reverts commit 9e62a7668c4085563a907da51a08819c88d04f33.
* kernel: mark compression modules as hiddden to obsolete the compressor ↵Felix Fietkau2016-08-041-35/+0
| | | | | | kconfig hack Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mark kmod-udptunnel as hiddden to replace the NET_UDP_TUNNEL kconfig ↵Felix Fietkau2016-08-041-11/+0
| | | | | | hack Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove unused morse led trigger driverFelix Fietkau2016-08-043-36/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove long obsolete gpio spi controller driver patchFelix Fietkau2016-08-041-373/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove a long obsolete unlzo decompressor fixFelix Fietkau2016-08-041-23/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove obsolete slab tuning patchFelix Fietkau2016-08-041-13/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove esfq qdiscFelix Fietkau2016-08-041-791/+0
| | | | | | It has been obsolete for years now Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove hostap driverFelix Fietkau2016-07-311-154/+0
| | | | | | | It has been marked as broken for well over a month now and nobody has complained. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* linux: Get rid of 000-keep_initrafs_the_default.patchAlexey Brodkin2016-07-231-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With that patch in place for initramfs no additional options are reported for "/" partition. What's really important is missing info about sizes. Which in its turn makes opkg think that there's no space on "/" partition to install software. I understand that's a sort of corner-case, people rarely install packages on ramfs but anyways why not? Just in case that's what I see with the patch: ---------------------->8-------------------- root@lede:/# cat /proc/mounts rootfs / rootfs rw 0 0 proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0 tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0 debugfs /sys/kernel/debug debugfs rw,noatime 0 0 ---------------------->8-------------------- And without: ---------------------->8-------------------- root@lede:/# cat /proc/mounts rootfs / rootfs rw,size=256168k,nr_inodes=32021 0 0 proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0 tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0 debugfs /sys/kernel/debug debugfs rw,noatime 0 0 ---------------------->8-------------------- Note how different is entry for rootfs. And given there's no known rationale for that patch we're getting rid of it. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: Rafał Miłecki <zajec5@gmail.com> Cc: John Crispin <john@phrozen.org> Cc: Felix Fietkau <nbd@nbd.name>
* kernel: remove obsolete patch adding usb_find_device_by_nameFelix Fietkau2016-07-201-84/+0
| | | | | | ledtrig-usbdev does not need it anymore Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport cosmetic UBIFS patches to kernel 4.1Daniel Golle2016-07-192-0/+102
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: fix build of kmod-udptunnel4 and kmod-udptunnel6Hauke Mehrtens2016-07-021-0/+11
| | | | | | | | | | The kernel config option CONFIG_NET_UDP_TUNNEL is not visible and can not directly be activated. When kmod-udptunnel4 or kmod-udptunnel6 are build these packages could be empty when no other kernel module selects CONFIG_NET_UDP_TUNNEL. Reported-by: Baptiste Jonglez <baptiste@bitsofnetworks.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix missing break in ubi auto-mounting patchHauke Mehrtens2016-06-271-1/+2
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* kernel: remove igb: Fix Null-pointer dereference patchHauke Mehrtens2016-06-261-40/+0
| | | | | | | This patch is already included in the Linux mainline kernel since v3.15, remove it from LEDE, see the lines directly before this patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: remove full cache flush in fuse_copy_do() for MIPSHauke Mehrtens2016-06-261-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | This patch was introduced in commit r16412 for the brcm47xx target only and then moved to generic in commit r32395. It was initially added because of ticket #5186 and should fix some problems with fuse file systems and MIPS caches. The commit comment in r32395 says that this a generic problem in MIPS CPUs, but does not name any specifics about that. There was a fix added to kernel 2.6.21 in commit commit 7575a49f20 "[MIPS] Implement flush_anon_page()." that should fix this problem, but that was already available before both commits were done to OpenWrt. I just tested fuse with ntfs.3g without this patch on a BCM4704 (BMIPS3300 V0.6) SoC and haven't seen any problems. Someone reported that removing this patch improves some fuse operations by 5 times on some modern MIPS cores. My test was only a simple "dd if=/dev/zero of=/mnt/zero bs=5000" to an USB stick. This patch removes the patch to OpenWrt, because I assume that it is not needed any more and Felix, the orginal author, also thinks so. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* squashfs4: use upstream xz compression header formatHauke Mehrtens2016-06-221-25/+0
| | | | | | | | | | | | | | | | | In the upstream kernel and the upstream squashfs4 tools the xz compression header looks the following: struct disk_comp_opts { __le32 dictionary_size; __le32 flags; }; We added some other members and also moved some existing members. Place the members which are already in upstream header at the same position as in that kernel and add our own at the end. The kernel should not have a problem when there are some additional members and just ignore them. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-06-201-1/+1
| | | | | | | | | In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same symbols as our b53 does. Change our symbols so both drivers can coexist in kernel tree. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-071-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-0719-27/+27
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ocf support, cryptodev-linux should be used insteadFelix Fietkau2016-05-122-186/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fq_codel match flows_cnt to limit sizingKevin Darbyshire-Bryant2016-05-121-2/+4
| | | | | | | | | | | | | | | | | | OpenWRT changed the default fq_codel sch->limit from 10240 to 1024, without also adjusting q->flows_cnt. Eric Dumazet explains below that you must also adjust the buckets (q->flows_cnt) for this not to break. Eric explains: Limit of 1024 packets and 1024 flows is not wise I think. (If all buckets are in use, each bucket has a virtual queue of 1 packet, which is almost the same than having no queue at all) I suggest to have at least 8 packets per bucket, to let Codel have a chance to trigger. So you could either reduce number of buckets to 128 (if memory is tight), or increase limit to 8192. flows_cnt is now set to 1024/8=128 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* kernel: move the old gpio watchdog driver from generic to brcm47xxFelix Fietkau2016-05-121-360/+0
| | | | | | brcm47xx is the only user Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-1813-46/+50
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49035
* kernel: backport bcma 4.6 changes for flashesRafał Miłecki2016-03-071-13/+285
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48960
* kernel: fix section mismatch in crashlogHauke Mehrtens2016-03-051-1/+1
| | | | | | | | | | | | | | | The function memblock_insert_region() is in the section __init_memblock, also put crashlog_init_memblock there. This fixes this section mismatch warning: The function memblock_insert_region.isra.1() references the function __meminit crashlog_init_memblock(). This is often because memblock_insert_region.isra.1 lacks a __meminit annotation or the annotation of crashlog_init_memblock is wrong. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48931
* kernel: backport more 4.6 bcma stuff needed for new chipsetsRafał Miłecki2016-01-281-1/+107
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48516
* kernel: update kernel 4.1 to version 4.1.16Hauke Mehrtens2016-01-253-78/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48497
* kernel: backport bcma stuff sent for 4.6Rafał Miłecki2016-01-221-0/+338
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48449
* kernel: fix module load issue in the dma-buf debloat patchFelix Fietkau2016-01-201-1/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48409
* kernel: fix keyring reference leak (CVE-2016-0728)Felix Fietkau2016-01-191-0/+75
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48372
* kernel: modularize dma shared buffer code to eliminate kernel bloatFelix Fietkau2016-01-191-0/+35
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48371
* kernel: compile out SNMP MIB related counting if debloat-proc is active - ↵Felix Fietkau2016-01-151-0/+44
| | | | | | | | improves network stack performance Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48239
* kernel: backport perf build fixes to 4.1Felix Fietkau2016-01-142-0/+81
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48231
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-129-168/+19
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48223
* kernel: update bcma by backporting 4.4 and 4.5 patchesRafał Miłecki2016-01-041-0/+49
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48111
* kernel: add at803x fix for sgmii modeFelix Fietkau2016-01-031-0/+96
| | | | | | | | | Some (possibly broken) bootloaders incorreclty initialize at8033 phy. This patch enables sgmii autonegotiation mode. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 48109
* kernel: move at803x phy patch to genericFelix Fietkau2016-01-031-0/+180
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 48108
* kernel: make bcm47xxpart work with TRX flashed at bad block(s)Rafał Miłecki2016-01-022-1/+101
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48061
* kernel: drop bcm47xxpart patch for XiaomiRafał Miłecki2016-01-022-36/+2
| | | | | | | | | It was never tested, most likely not working (because of le32_to_cpu) and not upstreamed. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48060
* ledtrig-netdev: update base driver instead of patching it for every kernelRafał Miłecki2015-12-231-39/+0
| | | | | | | | | | All supported kernels require patching ledtrig-netdev in the same way, so it's safe to just move these changes to the base version of this driver. We needed these patches for some old kernels 2.6.36 and 3.11. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47962
* generic/4.1: refresh patchesImre Kaloz2015-12-102-11/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47821
* kernel: revert fq_codel quantum override to prevent it from causing too much ↵Felix Fietkau2015-12-081-5/+2
| | | | | | | | cpu load with higher speed (#21326) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47811
* kernel: add bcm47xxpart patches sent for 4.5 merge windowRafał Miłecki2015-12-074-2/+132
| | | | | | | | | This replaces old bcm53xx patch for scanning whole flash and makes bcm47xxpart compatible with NAND. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47800
* kernel: drop bridge hack for removing ipv6 dependencyJonas Gorski2015-12-041-123/+0
| | | | | | | | | Now that IPV6 isn't build as a module anymore, we don't need to decouple bridge from ipv6 anymore. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47751
* kernel: mvswitch: merge 3.10+ compile fix into the codeJonas Gorski2015-12-041-35/+0
| | | | | | | | | The lowest we support is 3.18, so no need to keep it as a separate patch. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47749
* kernel: add overlayfs stacking fix from upstreamFelix Fietkau2015-12-031-0/+33
| | | | | | | | | | | Overlayfs stacking was broken in 4.1.12 but now fixed in upstream branch. Stacking allows experimenting with configurations without the need to reset a device to factory config. Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47714
* kernel: update 4.1 to 4.1.13Hauke Mehrtens2015-12-026-25/+7
| | | | | | | | | | | - two upstreamed patches removed - compile tested all targets using 4.1 - run tested ar71xx Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47694