commit | 568fe84940ac0e4e0b2cd7751b8b4911f7b9c215 | [log] [tgz] |
---|---|---|
author | Ziyang Xuan <william.xuanziyang@huawei.com> | Sun Nov 20 15:28:38 2022 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Tue Nov 22 20:18:20 2022 -0800 |
tree | ce5f694508e4915827740a6258d649c5312a2dcd | |
parent | dddf26dfd07a5dcb59cec0a6a7a8b7e12fcc7776 [diff] |
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>