diff options
author | 2021-03-07 22:25:30 -0500 | |
---|---|---|
committer | 2021-03-08 15:16:30 -0800 | |
commit | 4416e98594dc04590ebc498fc4e530009535c511 (patch) | |
tree | 6c24c4f105112d7a2b9105f65204ef22c7f2dd6e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | atm: uPD98402: fix incorrect allocation (diff) | |
download | wireguard-linux-4416e98594dc04590ebc498fc4e530009535c511.tar.xz wireguard-linux-4416e98594dc04590ebc498fc4e530009535c511.zip |
atm: idt77252: fix null-ptr-dereference
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions