aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2019-07-06 12:23:41 +0800
committerDavid S. Miller <[email protected]>2019-07-08 16:33:02 -0700
commitfaf5577f2498cea23011b5c785ef853ded22700b (patch)
tree5162b739231084150838b811d977268af58b1761 /drivers/fpga/fpga-mgr.c
parentef86ea982bb5a31cda1f2989b6e477bb53a1031b (diff)
net: pasemi: fix an use-after-free in pasemi_mac_phy_init()
The phy_dn variable is still being used in of_phy_connect() after the of_node_put() call, which may result in use-after-free. Fixes: 1dd2d06c0459 ("net: Rework pasemi_mac driver to use of_mdio infrastructure") Signed-off-by: Wen Yang <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Luis Chamberlain <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions