Zhang Changzhong b410f04eb5 ipv4: fix error return code in rtm_to_fib_config()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: d15662682db2 ("ipv4: Allow ipv6 gateway with ipv4 routes")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/1607071695-33740-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-04 15:38:16 -08:00
..
2020-03-12 15:55:00 -07:00
2020-10-16 16:47:09 -07:00
2020-03-30 13:45:04 -07:00
2020-10-06 06:23:21 -07:00
2020-08-31 12:33:34 -07:00
2020-03-16 18:26:54 -07:00
2020-09-25 17:17:14 -07:00
2020-09-30 14:21:30 -07:00
2020-03-16 18:26:55 -07:00
2020-08-24 17:31:20 -07:00