diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-10-01 20:47:14 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-06 15:56:15 -0700 |
| commit | 3d51928a882b768581e79c0ef04b63e196d5ef4c (patch) | |
| tree | e2d7c93fcd1dcdb0621a8234b6782f97f98873d6 /include/linux | |
| parent | 20dff14006b189baf05011b44e785d100458cc95 (diff) | |
ipv4: Inline inet_blackhole_dev_init() to devinet_init().
Commit 22600596b675 ("ipv4: give an IPv4 dev to blackhole_netdev")
started to allocate in_device for blackhole_netdev.
It used late_initcall() because blackhole_netdev was allocated
at device_initcall().
Now, it is allocated before inet_init(), and we no longer need
to use late_initcall().
Let's inline inet_blackhole_dev_init() to devinet_init().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Chris J Arges <carges@cloudflare.com>
Link: https://patch.msgid.link/20261001204752.2572265-3-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
