Dan Carpenter 09310cfd4e rtnetlink: fix error code in rtnl_newlink()
If rtnl_get_peer_net() fails, then propagate the error code.  Don't
return success.

Fixes: 48327566769a ("rtnetlink: fix double call of rtnl_link_get_net_ifla()")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/a2d20cd4-387a-4475-887c-bb7d0e88e25a@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-07 18:25:09 -08:00
..
2024-12-03 18:25:33 -08:00
2024-09-11 20:44:32 -07:00
2024-11-14 19:08:05 -08:00
2024-03-07 21:12:41 -08:00
2024-04-01 10:49:28 +01:00
2024-09-11 20:44:31 -07:00
2024-06-06 11:52:52 +02:00
2024-08-26 09:37:23 -07:00