From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ve1eur01on0130.outbound.protection.outlook.com ([104.47.1.130]:47887 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751581AbeCVSew (ORCPT ); Thu, 22 Mar 2018 14:34:52 -0400 Subject: [PATCH net-next 1/2] net: Convert udp_sysctl_ops From: Kirill Tkhai To: davem@davemloft.net, yoshfuji@linux-ipv6.org, dhowells@redhat.com, ktkhai@virtuozzo.com, netdev@vger.kernel.org Date: Thu, 22 Mar 2018 21:34:46 +0300 Message-ID: <152174368628.22875.15170405823295519657.stgit@localhost.localdomain> In-Reply-To: <152174314653.22875.17369758119928369672.stgit@localhost.localdomain> References: <152174314653.22875.17369758119928369672.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: These pernet_operations just initialize udp4 defaults. Signed-off-by: Kirill Tkhai --- net/ipv4/udp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 908fc02fb4f8..c6dc019bc64b 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -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)