mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-10 06:34:17 +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:
|
||
---|---|---|
.. | ||
hclge_cmd.c | ||
hclge_cmd.h | ||
hclge_dcb.c | ||
hclge_dcb.h | ||
hclge_debugfs.c | ||
hclge_debugfs.h | ||
hclge_err.c | ||
hclge_err.h | ||
hclge_main.c | ||
hclge_main.h | ||
hclge_mbx.c | ||
hclge_mdio.c | ||
hclge_mdio.h | ||
hclge_tm.c | ||
hclge_tm.h | ||
Makefile |