mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
[ Upstream commitea5ef136e2] As the nla_nest_start() may fail with NULL returned, the return value needs to be checked. Fixes:c4ffee7c9b("RDMA/netlink: Implement counter dumpit calback") Signed-off-by: Yuan Can <yuancan@huawei.com> Link: https://lore.kernel.org/r/20221126043410.85632-1-yuancan@huawei.com Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1895e908b3
commit
655e955deb
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue