On Mon, 02 Sep 2024 13:36:33 +0300, Leon Romanovsky wrote: > When ib_cache_update return an error, we exit ib_cache_setup_one > instantly with no proper cleanup, even though before this we had > already successfully done gid_table_setup_one, that results in > the kernel WARN below. > > Do proper cleanup using gid_table_cleanup_one before returning > the err in order to fix the issue. > > [...] Applied, thanks! [1/1] IB/core: Fix ib_cache_setup_one error flow cleanup https://git.kernel.org/rdma/rdma/c/1403c8b14765ea Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>