openwrtv3/target/linux
Hauke Mehrtens 64f54741e3 kernel: bgmac: rework patch checking packet length
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>

SVN-Revision: 40424
2014-04-08 19:50:17 +00:00
..
adm5120 kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
adm8668 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
amazon target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
ar7 kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
ar71xx ar71xx: move some always-used led related functionality from kmod packages to the kernel image 2014-04-07 10:44:52 +00:00
at91 at91: fix typo in network file 2013-11-17 17:14:32 +00:00
atheros kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
au1000 au1000: make sysupgrade compatible with all file system types 2013-11-07 12:46:16 +00:00
avr32 kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
bcm53xx kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
brcm47xx brcm47xx: backport 3.14 patch for nvram GPIO pin read 2014-03-30 19:07:46 +00:00
brcm63xx brcm63xx: hack around jffs2 corruption with SMP 2014-04-06 22:03:42 +00:00
brcm2708 kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
cns3xxx Add GW2385 support 2014-03-12 13:40:13 +00:00
cns21xx kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
cobalt cobalt: do not build userland with support for mips1 2013-10-13 22:10:57 +00:00
ep93xx ep93xx: fix kmod-input-keyboard-ep93xx dependencies 2013-10-01 22:39:28 +00:00
gemini build: unify arm target cflags 2013-09-26 17:53:20 +00:00
generic kernel: bgmac: rework patch checking packet length 2014-04-08 19:50:17 +00:00
imx6 kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
iop32x targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ixp4xx kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
kirkwood kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
lantiq lantiq: there is a V2 of VG3503J that needs a newer fe phy firmware 2014-04-07 15:10:22 +00:00
malta kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
mcs814x build: unify arm target cflags 2013-09-26 17:53:20 +00:00
mpc52xx build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc83xx kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
mpc85xx /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh 2014-04-07 10:29:47 +00:00
mvebu kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
mxs upgrade 3.13 targets to 3.13.7 2014-03-26 11:34:39 +00:00
octeon kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
omap upgrade 3.13 targets to 3.13.7 2014-03-26 11:34:39 +00:00
omap24xx additional musb fixups 2014-02-09 16:14:30 +00:00
orion orion: create a macro for zImage with machine id 2014-04-01 22:21:11 +00:00
ppc40x kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
ppc44x kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips ralink: fix WHR-300HP2 mtd size 2014-04-07 15:10:26 +00:00
rb532 kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
realview kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
sibyte build: unify mips target cflags 2013-09-26 17:53:14 +00:00
sparc kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
sunxi upgrade 3.13 targets to 3.13.7 2014-03-26 11:34:39 +00:00
uml target/uml: update README 2014-02-18 22:16:04 +00:00
x86 x86: xen_domu is functional, remove broken flag 2014-04-02 20:45:09 +00:00
x86_64 upgrade 3.13 targets to 3.13.7 2014-03-26 11:34:39 +00:00
xburst kernel: update 3.10 to 3.10.34 2014-03-27 09:28:33 +00:00
Makefile