openwrt/target/linux/generic-2.6
Florian Fainelli fba1a0a074 swconfig: Check vlan/port indexes for validity.
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.

This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 20811
2010-04-11 20:51:37 +00:00
..
base-files base-files: show boot state on intramfs images 2010-03-18 19:19:21 +00:00
files swconfig: Check vlan/port indexes for validity. 2010-04-11 20:51:37 +00:00
files-2.6.25/drivers remove more duplicate kernel source files 2009-12-25 12:09:03 +00:00
image get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
patches-2.6.25 fix kexec for mips, patch from Adrian Byszuk (#7115) 2010-04-08 07:53:14 +00:00
patches-2.6.30 refresh patches 2010-04-09 19:26:57 +00:00
patches-2.6.31 fix kexec for mips, patch from Adrian Byszuk (#7115) 2010-04-08 07:53:14 +00:00
patches-2.6.32 fix kexec for mips, patch from Adrian Byszuk (#7115) 2010-04-08 07:53:14 +00:00
patches-2.6.33 refresh 2.6.33 patches for 2.6.33.2 2010-04-11 18:15:15 +00:00
patches-2.6.34 fix kexec for mips, patch from Adrian Byszuk (#7115) 2010-04-08 07:53:14 +00:00
config-2.6.25 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370]) 2010-03-11 09:50:11 +00:00
config-2.6.30 add missing CONFIG_CB1400_CORE symbol, spotted by buildbot 2010-03-25 15:27:08 +00:00
config-2.6.31 add missing CONFIG_CB1400_CORE symbol, spotted by buildbot 2010-03-25 15:27:08 +00:00
config-2.6.32 add a subtarget and drivers for the Intel Tolapai SoC 2010-04-01 12:05:27 +00:00
config-2.6.33 generic-2.6: fix r20386 (thanks nico), update missing symbols on config-2.6.32 too 2010-03-23 15:02:29 +00:00
config-2.6.34 kernel: Add some missing config symbols 2010-03-21 13:57:07 +00:00