Skip to content
Commit dc88db7e authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: Drop pasid_state reference in ppr_notifer error path



In case we are not able to allocate a fault structure a
reference to the pasid_state will be leaked. Fix that by
dropping the reference in the error path in case we hold
one.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Tested-by: default avatarOded Gabbay <Oded.Gabbay@amd.com>
parent 61feb438
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