diff options
| author | Eli Cohen <[email protected]> | 2022-05-18 16:37:59 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2022-05-31 12:44:20 -0400 |
| commit | 7a6691f1f89784f775fa0c54be57533445726068 (patch) | |
| tree | 114bb8e2d120fea0ed54c2ebddc4ce3da66444ba /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8ab2afa23bd197df47819a87f0265c0ac95c5b6a (diff) | |
vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doit
In vdpa_nl_cmd_dev_get_doit(), if the call to genlmsg_reply() fails we
must not call nlmsg_free() since this is done inside genlmsg_reply().
Fix it.
Fixes: bc0d90ee021f ("vdpa: Enable user to query vdpa device info")
Reviewed-by: Si-Wei Liu <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: Eli Cohen <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions