You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: spread __net_init, __net_exit
__net_init/__net_exit are apparently not going away, so use them to full extent. In some cases __net_init was removed, because it was called from __net_exit code. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
72659ecce6
commit
2c8c1e7297
@@ -883,7 +883,7 @@ static void nl_fib_input(struct sk_buff *skb)
|
||||
netlink_unicast(net->ipv4.fibnl, skb, pid, MSG_DONTWAIT);
|
||||
}
|
||||
|
||||
static int nl_fib_lookup_init(struct net *net)
|
||||
static int __net_init nl_fib_lookup_init(struct net *net)
|
||||
{
|
||||
struct sock *sk;
|
||||
sk = netlink_kernel_create(net, NETLINK_FIB_LOOKUP, 0,
|
||||
@@ -1004,7 +1004,7 @@ fail:
|
||||
return err;
|
||||
}
|
||||
|
||||
static void __net_exit ip_fib_net_exit(struct net *net)
|
||||
static void ip_fib_net_exit(struct net *net)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user