Home
last modified time | relevance | path

Searched hist:ea5ef136 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Dnldev.cea5ef136 Fri Nov 25 22:34:10 CST 2022 Yuan Can <yuancan@huawei.com> RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()

As the nla_nest_start() may fail with NULL returned, the return value needs
to be checked.

Fixes: c4ffee7c9bdb ("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>