openwrt/target/linux/generic/files/drivers/net/phy
Jonas Gorski 9fbd6d0ba0 b53: fix memory out of bounds access on 64 bit targets
On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45938
2015-06-10 09:21:36 +00:00
..
b53 b53: fix memory out of bounds access on 64 bit targets 2015-06-10 09:21:36 +00:00
adm6996.c kernel: fix compile error inside adm6996.c 2015-02-09 12:09:17 +00:00
adm6996.h linux/generic: add MIB counters and port status to ADM6996 switch 2014-04-22 08:08:02 +00:00
ar8216.c ar8216: prefix mii_xxx functions to avoid kernel namespace pollution 2015-01-24 19:42:12 +00:00
ar8216.h ar8216: prefix mii_xxx functions to avoid kernel namespace pollution 2015-01-24 19:42:12 +00:00
ar8327.c ar8216: prefix mii_xxx functions to avoid kernel namespace pollution 2015-01-24 19:42:12 +00:00
ar8327.h ar8216: add swconfig attribute to display ARL table on AR8327/AR8337 2015-01-24 19:42:06 +00:00
ip17xx.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 2010-10-12 20:49:35 +00:00
mvsw61xx.c mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvsw61xx.h mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvswitch.c generic: mvswitch: add detach callback 2013-02-07 15:18:34 +00:00
mvswitch.h
psb6970.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 2010-10-12 20:49:35 +00:00
rtl8306.c revert: kernel: rtl8306: fix max pvid & remove port isolation 2014-03-30 10:04:55 +00:00
rtl8366_smi.c strict_strtoul is obsolete, use kstrtoul instead 2013-07-27 09:23:18 +00:00
rtl8366_smi.h linux: generic: rtl836*: fix compilation with !CONFIG_OF 2012-12-15 13:32:02 +00:00
rtl8366rb.c generic: add port mirroring/monitoring capability to rtl8366rb switch 2013-06-04 13:25:52 +00:00
rtl8366s.c fix rtl8366s OF binding 2013-04-12 18:56:05 +00:00
rtl8367.c rtl8367: add support for configuring the VLAN FID 2013-08-12 17:25:25 +00:00
rtl8367b.c generic: rtl8367: add compatible string with vendor prefix 2013-04-06 17:19:31 +00:00
swconfig_leds.c ar71xx: swconfig: use the local helper to set LED brightness on link down 2014-01-26 16:46:21 +00:00
swconfig.c swconfig: fix build with linux 4.0 2015-03-06 07:57:03 +00:00