Skip to content

Commit

Permalink
net: Convert udp_sysctl_ops
Browse files Browse the repository at this point in the history
These pernet_operations just initialize udp4 defaults.

Signed-off-by: Kirill Tkhai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Kirill Tkhai authored and davem330 committed Mar 23, 2018
1 parent 885b0d4 commit fc18999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/ipv4/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2842,7 +2842,8 @@ static int __net_init udp_sysctl_init(struct net *net)
}

static struct pernet_operations __net_initdata udp_sysctl_ops = {
.init = udp_sysctl_init,
.init = udp_sysctl_init,
.async = true,
};

void __init udp_init(void)
Expand Down

0 comments on commit fc18999

Please sign in to comment.