aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorZiyang Xuan <william.xuanziyang@huawei.com>2022-11-20 15:28:38 +0800
committerJakub Kicinski <kuba@kernel.org>2022-11-22 20:18:20 -0800
commit568fe84940ac0e4e0b2cd7751b8b4911f7b9c215 (patch)
treece5f694508e4915827740a6258d649c5312a2dcd /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge branch 'net-ethernet-mtk_eth_soc-fix-memory-leak-in-error-path' (diff)
downloadwireguard-linux-568fe84940ac0e4e0b2cd7751b8b4911f7b9c215.tar.xz
wireguard-linux-568fe84940ac0e4e0b2cd7751b8b4911f7b9c215.zip
ipv4: Fix error return code in fib_table_insert()
In fib_table_insert(), if the alias was already inserted, but node not exist, the error code should be set before return from error handling path. Fixes: a6c76c17df02 ("ipv4: Notify route after insertion to the routing table") Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com> Link: https://lore.kernel.org/r/20221120072838.2167047-1-william.xuanziyang@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions