1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 01:12:24 +02:00
openwrt-xburst/target/linux/generic-2.6/files/drivers/net/phy
florian b02fa11a17 [kernel] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20811 3c298f89-4303-0410-b956-a3cf2f4a3e73
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) 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 [PATCH 1/2] Add support for the ar8316 switch. 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 [kernel] swconfig: Check vlan/port indexes for validity. 2010-04-11 20:51:37 +00:00