openwrtv4/target/linux/generic-2.6/files/drivers/net/phy
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
..
adm6996.c fix link status detection in various switch drivers 2009-12-08 14:06:09 +00:00
adm6996.h Add stub driver for ADM6996F switches (configured through MII) The driver currently uses a hardcoded VLAN mapping and has no configuration yet Tested on Accton MR3202a 2008-04-20 02:53:04 +00:00
ar8216.c Generic: Clean up output of AR8216 driver. 2010-04-10 11:34:11 +00:00
ar8216.h Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices. 2010-04-05 23:03:16 +00:00
ip175c.c enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733) 2010-03-28 18:57:42 +00:00
mvswitch.c fix link status detection in various switch drivers 2009-12-08 14:06:09 +00:00
mvswitch.h add missing defines for mvswitch 2008-07-21 18:12:38 +00:00
rtl8306.c rtl8306: manage the wan port as a separate phy device with proper link status reading and autonegotiation - the genphy driver does not handle it properly 2009-12-09 03:25:33 +00:00
rtl8366_smi.c rtl8366_smi: sanitize gpio values to a 0/1 boolean 2010-01-30 15:25:12 +00:00
rtl8366_smi.h rtl8366: make it available on all platforms 2010-01-25 15:13:38 +00:00
rtl8366rb.c kernel: add driver for the RTL8366RB switch 2010-02-24 13:39:02 +00:00
rtl8366s.c rtl8366s: reset the chip early, this allows ethernet to work as soon as possible 2010-01-27 21:01:48 +00:00
swconfig.c swconfig: Check vlan/port indexes for validity. 2010-04-11 20:51:37 +00:00