HomeFreeBSD

Fix for use after free in mlx5core.

Description

Fix for use after free in mlx5core.

Make sure the command completion handler is not called when the device is
in internal error state. This can easily trigger use after free situations.

MFC after: 3 days
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS331824: Make sure Giant is locked when allocating bus resources in mlx5core.
Branches
Unknown
Tags
Unknown