Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pds_vdpa: clear config callback when status goes to 0
If the client driver is setting status to 0, something is getting shutdown and possibly removed. Make sure we clear the config_cb so that it doesn't end up crashing when trying to call a bogus callback. Signed-off-by: Shannon Nelson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]>
- Loading branch information