aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mt7530.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-07-31 20:07:21 +0000
committerDavid S. Miller <[email protected]>2024-08-03 21:38:45 +0000
commit8eaf71f77c923f13e41a146703b93fa7988d101f (patch)
tree162d353104a07121ee14a133fd6ee0c9f38f1f92 /drivers/net/dsa/mt7530.c
parentnet: Slim down setup_net(). (diff)
downloadkernel-8eaf71f77c923f13e41a146703b93fa7988d101f.tar.gz
kernel-8eaf71f77c923f13e41a146703b93fa7988d101f.zip
net: Initialise net.core sysctl defaults in preinit_net().
Commit 7c3f1875c66f ("net: move somaxconn init from sysctl code") introduced net_defaults_ops to make sure that net.core sysctl knobs are always initialised even if CONFIG_SYSCTL is disabled. Such operations better fit preinit_net() added for a similar purpose by commit 6e77a5a4af05 ("net: initialize net->notrefcnt_tracker earlier"). Let's initialise the sysctl defaults in preinit_net(). Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/mt7530.c')
0 files changed, 0 insertions, 0 deletions