commit | dd3b8de16e90c5594eddd29aeeb99e97c6f863be | [log] [tgz] |
---|---|---|
author | Shannon Nelson <shannon.nelson@amd.com> | Fri Nov 10 14:18:01 2023 -0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Fri Dec 01 09:55:01 2023 -0500 |
tree | 46c154ec44425f429f80f86f3bacbe0d356cf97f | |
parent | 4f317d6529d7fc3ab7769ef89645d43fc7eec61b [diff] |
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 <shannon.nelson@amd.com> Message-Id: <20231110221802.46841-3-shannon.nelson@amd.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>