openwrt/target/linux
Gabor Juhos 395d0bdc1f generic: ar8216: clear driver specific data pointer in phy_device
This is needed to avoid a NULL pointer dereference:

  [   19.525270] Unable to handle kernel paging request for data at address 0x00000018
  [   19.532750] Faulting instruction address: 0xc016e104
  [   19.537714] Oops: Kernel access of bad area, sig: 11 [#1]
  [   19.543102] P1010 RDB
  [   19.545365] Modules linked in: booke_wdt nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat xt_nat d
  [   19.590725] NIP: c016e104 LR: c0171490 CTR: 00000000
  [   19.595681] REGS: c4bc3c10 TRAP: 0300   Tainted: G        W  O (3.7.6)
  [   19.602284] MSR: 00029000 <CE,EE,ME>  CR: 82002022  XER: 20000000
  [   19.608381] DEAR: 00000018, ESR: 00000000
  [   19.612382] TASK = c4cd9c80[2070] 'ifconfig' THREAD: c4bc2000
  GPR00: 00000001 c4bc3cc0 c4cd9c80 00000000 c7811000 00000000 00000000 0000e8ec
  GPR08: 0000e8eb 00000000 00029000 00000001 00000000 100801f8 1005c51c 1005c514
  GPR16: 1005c468 1005c54c 1005c258 1005c530 10060000 00000000 c7811000 ffff8914
  GPR24: c7815030 c793e400 10063adb 00000000 c7811000 c045594c c78ca600 c7815000
  [   19.646352] NIP [c016e104] register_switch+0x98/0x2d0
  [   19.651397] LR [c0171490] ar8216_config_init+0x2d8/0x3f4
  [   19.656697] Call Trace:
  [   19.659138] [c4bc3cc0] [c0170490] ar8216_mii_read+0x64/0xc4 (unreliable)
  [   19.665835] [c4bc3d00] [c0171490] ar8216_config_init+0x2d8/0x3f4
  [   19.671835] [c4bc3d20] [c016cf8c] phy_init_hw+0x50/0x6c
  [   19.677053] [c4bc3d30] [c016d078] phy_attach_direct+0xd0/0xf8
  [   19.682793] [c4bc3d50] [c016d154] phy_connect_direct+0x24/0x68
  [   19.688621] [c4bc3d70] [c0183b70] of_phy_connect+0x48/0x6c
  [   19.694102] [c4bc3d90] [c0175aac] gfar_enet_open+0x254/0x3d8
  [   19.699755] [c4bc3db0] [c019acc4] __dev_open+0xc0/0x120
  [   19.704975] [c4bc3dd0] [c019af98] __dev_change_flags+0xd4/0x15c
  [   19.710888] [c4bc3df0] [c019b0d4] dev_change_flags+0x1c/0x60
  [   19.716544] [c4bc3e10] [c01ebb94] devinet_ioctl+0x290/0x690
  [   19.722111] [c4bc3e70] [c01ec8d4] inet_ioctl+0x88/0xbc
  [   19.727245] [c4bc3e80] [c0186b98] sock_ioctl+0x258/0x294
  [   19.732551] [c4bc3ea0] [c009c00c] do_vfs_ioctl+0x6a4/0x728
  [   19.738031] [c4bc3f10] [c009c0d4] sys_ioctl+0x44/0x70
  [   19.743077] [c4bc3f40] [c000c74c] ret_from_syscall+0x0/0x3c
  [   19.748646] --- Exception: c01 at 0x48091b34
  [   19.748646]     LR = 0x480e4b64
  [   19.756033] Instruction dump:
  [   19.758991] 2f830000 907f0050 3860fff4 419e021c 837f0000 38000000 901f0038 901f0040
  [   19.766744] 901f003c 7f600034 5400d97e 0f000000 <801b0018> 2f800000 40be0010 801b001c

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35497
2013-02-05 08:39:26 +00:00
..
adm5120 kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
adm8668 create Linksys WRTU54G-TM profile 2012-12-07 18:02:31 +00:00
amazon remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
ar7 all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
ar71xx kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
at91 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
atheros all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
au1000 remove common symbols from 3.6 configs 2012-11-29 15:21:41 +00:00
avr32 remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
brcm47xx brcm47xx: fix detection of Asus RT-N16 2013-02-04 22:49:05 +00:00
brcm63xx bcm63xx: add support for linux 3.8 2013-02-04 10:19:55 +00:00
brcm2708 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
cns3xxx target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
cns21xx kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
cobalt remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
ep93xx target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
gemini target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
generic generic: ar8216: clear driver specific data pointer in phy_device 2013-02-05 08:39:26 +00:00
iop32x target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
ixp4xx target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
kirkwood all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
lantiq kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
malta kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
mcs814x all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
mpc52xx target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
mpc83xx kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
mpc85xx mpc85xx: enable GPIO sysfs interface 2013-02-05 07:48:02 +00:00
mvebu kernel: generic: update to 3.8-rc6 2013-02-04 10:19:28 +00:00
omap4 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
omap24xx remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
orion all targets: use numerically prefixed uci-defaults file names to better control order of execution 2013-01-18 12:42:53 +00:00
ppc40x kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
ppc44x kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
pxa target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
ramips kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
rb532 kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
realview kernel: clean up crypto kconfig options on 3.8 2013-01-27 17:49:09 +00:00
sibyte remove common symbols from 3.3 configs 2012-11-29 15:21:35 +00:00
sparc kernel: update linux 3.6 to 3.6.11 2012-12-18 14:41:16 +00:00
uml kernel: update linux 3.6 to 3.6.11 2012-12-18 14:41:16 +00:00
x86 kernel: update linux 3.7 to 3.7.6 2013-02-04 10:02:56 +00:00
xburst kernel: add missing USB configuration symbols after r34501 2012-12-07 11:01:53 +00:00
Makefile Add kernel_nconfig make target 2010-08-06 21:36:35 +00:00