kernel_optimize_test/drivers/atm
Tong Zhang 758bca385a atm: idt77252: fix null-ptr-dereference
[ Upstream commit 4416e98594dc04590ebc498fc4e530009535c511 ]

this one is similar to the phy_data allocation fix in uPD98402, the
driver allocate the idt77105_priv and store to dev_data but later
dereference using dev->dev_data, which will cause null-ptr-dereference.

fix this issue by changing dev_data to phy_data so that PRIV(dev) can
work correctly.

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-30 14:31:50 +02:00
..
.gitignore
adummy.c
ambassador.c
ambassador.h
atmtcp.c atm: atmtcp: Constify atmtcp_v_dev_ops 2020-09-28 16:03:30 -07:00
eni.c atm: eni: dont release is never initialized 2021-03-30 14:31:48 +02:00
eni.h
firestream.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-09-03 18:50:48 -07:00
firestream.h
fore200e.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
fore200e.h
he.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
he.h
horizon.c
horizon.h
idt77105.c atm: idt77252: fix null-ptr-dereference 2021-03-30 14:31:50 +02:00
idt77105.h
idt77252_tables.h
idt77252.c atm: idt77252: call pci_disable_device() on error path 2021-01-12 20:18:09 +01:00
idt77252.h
iphase.c
iphase.h
Kconfig
lanai.c atm: lanai: dont run lanai_dev_close if not open 2021-03-30 14:31:48 +02:00
Makefile
midway.h
nicstar.c atm: nicstar: Unmap DMA on send error 2020-11-18 16:42:07 -08:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c atm: uPD98402: fix incorrect allocation 2021-03-30 14:31:50 +02:00
uPD98402.h
zatm.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
zatm.h
zeprom.h