mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-09 22:24:04 +08:00
49f971bd30
When hclge_bind_ring_with_vector() fails,
hclge_map_unmap_ring_to_vf_vector() returns the error
directly, so nobody will free the memory allocated by
hclge_get_ring_chain_from_mbx().
So hclge_free_vector_ring_chain() should be called no matter
hclge_bind_ring_with_vector() fails or not.
Fixes:
|
||
---|---|---|
.. | ||
hns3pf | ||
hns3vf | ||
hclge_mbx.h | ||
hnae3.c | ||
hnae3.h | ||
hns3_dcbnl.c | ||
hns3_debugfs.c | ||
hns3_enet.c | ||
hns3_enet.h | ||
hns3_ethtool.c | ||
Makefile |