]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: Slim down setup_net().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Wed, 31 Jul 2024 20:07:20 +0000 (13:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Aug 2024 21:38:45 +0000 (22:38 +0100)
commit05be8012594451fbeb7e6319107440eef27bd17b
tree827ee20b692c39be9b88d0ed658751360178c5e7
parent930299491825575503ec411ff28473aaa6b8c9ca
net: Slim down setup_net().

Most initialisations in setup_net() do not require pernet_ops_rwsem
and can be moved to preinit_net().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c