aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: bgmac: rework patch checking packet lengthHauke Mehrtens2014-04-084-26/+141
| | | | | | | | | | | | | | | | | | | | | This bgmac patch was an attempt to fix/workaround bug reported in https://dev.openwrt.org/ticket/7198 noticed on WNR3500L. Patch assumed length reported by the hardware was 0 and was trying to read it until getting a different value. This was actually the opposite. Lenghts were some invalid & huge values that resulted in skb_over_panic. For example: skbuff: skb_over_panic: text:83b21074 len:57222 (...) skbuff: skb_over_panic: text:87af1024 len:43226 (...) skbuff: skb_over_panic: text:87af5024 len:8739 (...) So instead of that not-working patch checking for 0, write a new one checking for huge values. In case something like that happens, dump hardware state and drop the packet. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ds-lite: compatibility with ISPs that only offer public PDsSteven Barth2014-04-082-5/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* OpenSSL: update to 1.0.1gSteven Barth2014-04-081-2/+2
| | | | | | | | This fixes the Heartbleed bug (CVE-2014-0160). Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: the ubi tol should be installed when jumping to ram_fsJohn Crispin2014-04-071-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix WHR-300HP2 mtd sizeJohn Crispin2014-04-071-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: there is a V2 of VG3503J that needs a newer fe phy firmwareJohn Crispin2014-04-075-161/+186
| | | | | | | | | this should really be auto detected by the kernel, lets used this workaround until the real solution is ready Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a ubi forced detach ioctlJohn Crispin2014-04-071-0/+41
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: make use of new fstoolsJohn Crispin2014-04-073-3/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git HEADJohn Crispin2014-04-075-21/+27
| | | | | | | | this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a l3_dev handling regression ↵Felix Fietkau2014-04-071-2/+2
| | | | | | | | leading to a crash Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move some always-used led related functionality from kmod packages ↵Felix Fietkau2014-04-072-5/+2
| | | | | | | | to the kernel image Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: remove config_rename()Felix Fietkau2014-04-071-18/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: move rarely used mtd and macaddr related functions to ↵Felix Fietkau2014-04-078-138/+126
| | | | | | | | /lib/functions/system.sh Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: remove jffs2_mark_erase()Felix Fietkau2014-04-071-9/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove config_clear() and list_remove()Felix Fietkau2014-04-071-28/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move uci_apply_defaults() to /etc/init.d/bootFelix Fietkau2014-04-072-12/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: remove hotplug_dev()Felix Fietkau2014-04-071-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: remove strtok()Felix Fietkau2014-04-071-26/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: move preinit related functions to /lib/functions/preinit.shFelix Fietkau2014-04-073-85/+88
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: remove pi_include()Felix Fietkau2014-04-071-24/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: remove jffs2_ready()Felix Fietkau2014-04-071-7/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: remove support for non-overlayfs overlay fopivot typesFelix Fietkau2014-04-071-44/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-WR841N/ND v9Felix Fietkau2014-04-079-1/+196
| | | | | | | | | | Everything seems to be working fine. Potential issues: * VLAN port IDs are reversed with regard to the numbers on the case. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for QCA953x SoCFelix Fietkau2014-04-073-0/+447
| | | | | | | | | | | | | | | | | I don't have access to the specs, so I'm not sure about every detail, but I haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty much like a QCA955x without PCI, a little twist in the clock calculation and a AR9331-compatible switch. Features not yet supported: * EHCI (my test system doesn't have USB) * ? (I have no idea if the QCA953x has any other features I don't know about that aren't used by the TL-WR841N v9) Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: hack around jffs2 corruption with SMPJonas Gorski2014-04-062-0/+52
| | | | | | | | | | | | mempy_fromio seems to be randomly failing when the destination is unaligned; work around it by forcing the name to be aligned in memory. Should fix jffs2 and SMP for now, but needs to be some additional looking into as it does not fix the source. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: improve managed PDSteven Barth2014-04-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: update to version 2014-04-04Felix Fietkau2014-04-0631-604/+290
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2014-03-31Felix Fietkau2014-04-0657-6494/+231
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove unmaintained codeJohn Crispin2014-04-065-106/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix regression from r39949 (#15382)Felix Fietkau2014-04-061-23/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc++: disable mips16 support to avoid linkage errors with libsupc++ ↵Felix Fietkau2014-04-051-0/+1
| | | | | | | | object files Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: sync mips counters during bringup of cpusJonas Gorski2014-04-054-0/+56
| | | | | | | | | Fixes gettimeofday returning different values depending on which cpu it is called. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Add renew handler for proto dhcpv6Felix Fietkau2014-04-051-0/+9
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Add renew handler for proto dhcpFelix Fietkau2014-04-051-0/+9
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes issues when l3 interface changes on ↵Felix Fietkau2014-04-051-2/+2
| | | | | | | | reload (e.g. ppp -> dhcp/static) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40384 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: scripts should propagate the cmdlineJohn Crispin2014-04-052-2/+2
| | | | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: fix git tree path, a regex went madJohn Crispin2014-04-051-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40382 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: cleanup the dsl control scriptsJohn Crispin2014-04-058-611/+259
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: update development kernel to linux 3.14Jonas Gorski2014-04-04155-2392/+185
| | | | | | | | | | | | | | | Now that 3.13 will be EOL soon, switch to 3.14. Known issues: * 74x164 is not available because upstream dropped non-DT support * jffs2 breaks with SMP Unknown issues: * probably plenty Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix bluetooth and zsmalloc for 3.14Jonas Gorski2014-04-041-1/+23
| | | | | | | | | zsmalloc was promoted from staging, while bluetooth gained a dependency to a library shared with 802.15.4 for 6lowpan support. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix usb module paths for 3.14Jonas Gorski2014-04-041-1/+9
| | | | | | | | | dwc2 was promoted from staging, while u_rndis was merged into usb_f_rndis. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix kmod-sound-core for 3.14Jonas Gorski2014-04-041-2/+8
| | | | | | | | pcm-page-alloc was merged into snd-pcm. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make sched_act_connmark compile for 3.14Jonas Gorski2014-04-041-15/+11
| | | | | | | | The upstream API changed, which allowed to simplify the code a bit. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make sched_esfq compile for 3.14Jonas Gorski2014-04-041-1/+1
| | | | | | | | net_random was replaced with prandom_u32. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbol for linux 3.14Jonas Gorski2014-04-041-0/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: nand fixesJohn Crispin2014-04-032-0/+223
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - userspaceJohn Crispin2014-04-032-0/+12
| | | | | | | | Basic userspace configuration for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - board supportJohn Crispin2014-04-036-4/+308
| | | | | | | | Board support patch for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - jedec probeJohn Crispin2014-04-032-0/+39
| | | | | | | | | Lantiq nor patch. Adds support for jedec probing if cfi probing fails. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make td8970 wifi led workJohn Crispin2014-04-032-7/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40368 3c298f89-4303-0410-b956-a3cf2f4a3e73