Skip to content
Commit c1959066 authored by Dan Carpenter's avatar Dan Carpenter Committed by Li Yang
Browse files

soc: fsl: dpio: Use after free in dpaa2_dpio_remove()

The dpaa2_io_down(priv->io) call frees "priv->io" so I've shifted the
code around a little bit to avoid the use after free.

Fixes: 991e8732

 ("soc: fsl: dpio: use a cpumask to identify which cpus are unused")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent 3c0d64e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment