diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-11-13 19:16:22 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-14 16:23:19 -0800 |
commit | 849920c703392957f94023f77ec89ca6cf119d43 (patch) | |
tree | 819652f8ab8bf5faf980883f02f7c139af4a4abc /net/vmw_vsock | |
parent | 56311a315da7ebc668dbcc2f1c99689cc10796c4 (diff) |
devlink: Add missing genlmsg_cancel() in devlink_nl_sb_port_pool_fill()
If sb_occ_port_pool_get() failed in devlink_nl_sb_port_pool_fill(),
msg should be canceled by genlmsg_cancel().
Fixes: df38dafd2559 ("devlink: implement shared buffer occupancy monitoring interface")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Link: https://lore.kernel.org/r/20201113111622.11040-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions