openwrtv4/target/linux
Jo-Philipp Wich 7d725aab9a generic: workaround arptables arpt_arp structure padding issue (#14577)
Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on
at least the ar71xx target, resulting in a two bytes shorter struct
in the kernel compared to what arptables userspace expects.

When comparing sizeof(struct arpt_arp) in kernel and userspace, the
former yields 162 byte, while the latter is 164 byte.

As a consequence, the subsequent target_offset and next_offset
members of the parent arpt_entry structure contain invalid values
when processed by the arptables binary, leading to bad memory
accesses in the populate_cache() procedure, subsequently causing a
segfault.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 38999
2013-12-06 15:42:35 +00:00
..
adm5120 targets: fix remaining targets for initramfs builds 2013-06-28 22:56:34 +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.21 2013-12-01 09:59:53 +00:00
ar71xx kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +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.17 2013-10-23 12:51:05 +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.21 2013-12-01 09:59:53 +00:00
bcm53xx kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
brcm47xx brcm47xx: misc cleanups 2013-12-01 18:12:57 +00:00
brcm63xx kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
brcm2708 kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
cns3xxx add uImage image build 2013-11-10 09:57:07 +00:00
cns21xx kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +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 generic: workaround arptables arpt_arp structure padding issue (#14577) 2013-12-06 15:42:35 +00:00
imx6 kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +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.21 2013-12-01 09:59:53 +00:00
kirkwood kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
lantiq kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
malta kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +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 build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc85xx kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
mvebu kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
mxs mxs: build/profile-related changes - change uImage creation to use zImage - update image Makefile for further boards with u-boot support - add profile for OLinuXino Micro/Nano boards 2013-11-20 10:23:49 +00:00
octeon kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
omap kernel: refresh kernel configs with kconfig.pl 2013-11-30 18:31:10 +00:00
omap24xx build: unify arm target cflags 2013-09-26 17:53:20 +00:00
orion build: unify arm target cflags 2013-09-26 17:53:20 +00:00
ppc40x kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
ppc44x kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
rb532 kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
realview kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
sibyte build: unify mips target cflags 2013-09-26 17:53:14 +00:00
sparc kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
sunxi sunxi: remove old kernel config after 3.12 upgrade (r38811) 2013-11-16 10:17:38 +00:00
uml uml: work around mangled parameter handling for ubd 2013-09-24 13:36:42 +00:00
x86 kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
xburst kernel: update 3.10 to 3.10.21 2013-12-01 09:59:53 +00:00
Makefile Add kernel_nconfig make target 2010-08-06 21:36:35 +00:00