]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'netns-init-cleanups' into main
authorDavid S. Miller <davem@davemloft.net>
Sat, 3 Aug 2024 21:38:45 +0000 (22:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Aug 2024 21:38:45 +0000 (22:38 +0100)
commit83044bf90e081ffe87ae3521914b46bfdaba3b1d
tree162d353104a07121ee14a133fd6ee0c9f38f1f92
parentc4b28e5699d2a789fc9464e7ce89f2a1e9d5085d
parent8eaf71f77c923f13e41a146703b93fa7988d101f
Merge branch 'netns-init-cleanups' into main

Kuniyuki Iwashima says:

====================
net: Random cleanup for netns initialisation.

patch 1 & 2 suppress unwanted memory allocation for net->gen->ptr[].

patch 3 ~ 6 move part of netns initialisation to prenet_init() that
do not require pernet_ops_rwsem.

v2:
  patch 1 : Removed Fixes: tag
  patch 2 : Use XOR for WARN_ON()

v1: https://lore.kernel.org/netdev/20240729210801.16196-1-kuniyu@amazon.com/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>