]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtnetlink: Clean up rtnl_dellink().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Wed, 16 Oct 2024 18:53:53 +0000 (11:53 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 22 Oct 2024 09:02:05 +0000 (11:02 +0200)
commit175cfc5cd373b6665ec145cafe742252453a7c0e
tree450fcc11c5cb03e3f0a86f0b26d733c94e633e30
parentf7774eec20b41fae36a58e8ab04ff4dd48bb1845
rtnetlink: Clean up rtnl_dellink().

We will push RTNL down to rtnl_delink().

Let's unify the error path to make it easy to place rtnl_net_lock().

While at it, keep the variables in reverse xmas order.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/rtnetlink.c