From patchwork Mon Mar 19 11:45:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Tkhai X-Patchwork-Id: 10292231 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D09FA602C2 for ; Mon, 19 Mar 2018 11:45:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB9D12922F for ; Mon, 19 Mar 2018 11:45:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B032D29234; Mon, 19 Mar 2018 11:45:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42F992922F for ; Mon, 19 Mar 2018 11:45:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755453AbeCSLpq (ORCPT ); Mon, 19 Mar 2018 07:45:46 -0400 Received: from mail-he1eur01on0132.outbound.protection.outlook.com ([104.47.0.132]:61722 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755327AbeCSLpo (ORCPT ); Mon, 19 Mar 2018 07:45:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7h4M2UkFsGNJXJmdSpehexlWo2GFhDgrxC52G/WuT7A=; b=RcQBoHSjeU9peNhRwS/GfiEhwlBVeF/cZhw0ia6/7sIPaQFfUu6JZIwOHV+gTSSq7zlUIuCv7NYQtmiu1CcfbaTGKhn6Hki6iIY3OBX/K9E9E978ME9B3bkDbBf9ArS9m79ZDfP+TgrjV+K7M0k9G2uqzLBQgcLqAbTthsuNrqY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from localhost.localdomain (195.214.232.6) by VI1PR0801MB1342.eurprd08.prod.outlook.com (2603:10a6:800:3a::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Mon, 19 Mar 2018 11:45:40 +0000 Subject: [PATCH net-next 1/2] net: Convert lowpan_frags_ops From: Kirill Tkhai To: alex.aring@gmail.com, stefan@osg.samsung.com, davem@davemloft.net, pablo@netfilter.org, kadlec@blackhole.kfki.hu, fw@strlen.de, yoshfuji@linux-ipv6.org, brouer@redhat.com, keescook@chromium.org, ktkhai@virtuozzo.com, linux-wpan@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org Date: Mon, 19 Mar 2018 14:45:37 +0300 Message-ID: <152145993742.26348.7771294840455450666.stgit@localhost.localdomain> In-Reply-To: <152145973147.26348.4080298027358158796.stgit@localhost.localdomain> References: <152145973147.26348.4080298027358158796.stgit@localhost.localdomain> User-Agent: StGit/0.18 MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: VI1PR0501CA0019.eurprd05.prod.outlook.com (2603:10a6:800:92::29) To VI1PR0801MB1342.eurprd08.prod.outlook.com (2603:10a6:800:3a::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b7eda818-b830-4949-fc9e-08d58d8ef10a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR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ojtzhZfweQnEKaCl5rLM3lIhrQp86l0ar3yCba2sp52VXce4T9QWarb/XcI7ki/9etxztAc6NnaK6+MA21FEDdRgeiRese9mNmj+wbdU3FOQJSdQnWK6oUAoDvbytfP4gH1SvmDG1whsvx9hBxUxLFCpzpzkLj3bC022u3Agp7iWqrTQtjicfWJPoQ1gfcM5QRqxTd21ZoocID9vp9Pke4S7OzdFOdDQm7tBaESuQhVtqP7k1U5fOV1CV/nUs9a8Dh/ndYM2c5Bm0r9l1QitehUYuqRaOVLKabJaj09PeZ2jsXB3wQHo6Od18NsVm2C4lxrNZi8UaAKNcfOh3RYztxdeCqJqbKskyNJ6eY+m3MqouqHYvIwA0BNfGo5HqHO4GraX0hVsieeYOehlP9cuMO; 4:YSJA1v2Y5moeXPqeFnyyT/DDJXi9GNMVMk77pcqZnvHxzSterm5VUBIkPUiIHXG12q4GN1Dtepyzb1f01iHaV3LSbDJ0PlwFBT0RZsdGSSt4lKtWbm/hmCV+ZMVkgfZdi7Mdez7W5lSAkIfSNFlAj0hkXQF0klCkt006Q/GMjl/hylCj3Vxx10tdo3gkyesHqFnSSdY4EQocRJ5gBsAJn5QDpXOPChq24DtykwjZT7G6abtG8+KCUGno4Ed0lwuSkLe+InXkIDdIlFogI3TFxg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231221)(944501244)(52105095)(10201501046)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0801MB1342; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB1342; X-Forefront-PRVS: 06167FAD59 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(366004)(39380400002)(396003)(376002)(39840400004)(346002)(199004)(189003)(25786009)(50466002)(97736004)(53936002)(86362001)(39060400002)(6116002)(55236004)(6506007)(386003)(3846002)(26005)(103116003)(305945005)(186003)(7736002)(68736007)(16526019)(8676002)(2906002)(2950100002)(6666003)(81156014)(5660300001)(316002)(8936002)(58126008)(230700001)(7416002)(66066001)(478600001)(55016002)(7696005)(33896004)(47776003)(76176011)(9686003)(105586002)(106356001)(81166006)(2486003)(23676004)(52116002)(61506002)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0801MB1342; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA4MDFNQjEzNDI7MjM6V0VUYnRCaFNwSWEvMTlubFFma1JjdzRz?= =?utf-8?B?YUJPWXc1ZWJUd3RhZVVSa1Aza0o5bEQ0SG1Jdy9jMEdsTFFJN2UwRVZKb3Z6?= =?utf-8?B?TmpPaU1oTFZmQmRxUWEycFBkMzQ0MHAvVkxmNXdMK2s2K0FIZmU5QytuendS?= =?utf-8?B?d3I1OGNvSG1MTC9qTHJHVU9ZbWpTYXZGbDF6RmZpV3RzdVd6K0RMKys2bTBl?= =?utf-8?B?M0l6NDVMc1RBQ1NZSVFVNWlFbHppL2hsbzlmMUpRMUJxTmNSbEJQQ2NWaGtq?= =?utf-8?B?bGFaRkFkczR6czlQOUZaQkJRL2hucEJaUmxoM0pjN3k5UkFEOGN0RlIyRkM0?= =?utf-8?B?MkJwdlpoTXdZcTRTQ0NaTCtLK3F6S0o0Tks1eEdsM29yM0tLR3J3THFOL29M?= =?utf-8?B?eVQzY1NBQ25uK09YQkNPb3VGNnZvQVNBME1YZzBHSTZFbXdadEI0ckVCL0x0?= =?utf-8?B?WkhKaDdROUdxQVpkdjdtWmtUMTZXeHdLRHhuRmJFTm5YUGtSZ0ZkRlVRc0Ew?= =?utf-8?B?Ny90UGYva0FuYTYvVT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utf-8?B?WWJXZGp1RHhGcXVJcU94ektwTE9yalo1Tko0cStlMStDa0N1VjhFcEVuNThn?= =?utf-8?B?alErNGJjcmltckZma2t0WmlwZWQvbnhLT0J0YmJka2ZOMThydDVKOHZCRkRZ?= =?utf-8?B?cWEvRCtHZ2x0TzVCUStEeC8yNkJSOGxyckd0K08vYmxGU2x2bFVWTFRsTkpy?= =?utf-8?B?YzU0SzVaQmk0dnZGbm45ZWc4UHhNVEo3allvTXN5VDlhMnpNK09XN1RnZGs5?= =?utf-8?Q?2CMtuBacFfKZojwCsfGM=3D?= X-Microsoft-Antispam-Message-Info: pl5VNzi8UoGfYHEBM4mNeyP0LRdA5JMc297nM/vuqpApHsTH8ppReN89xyAC0MRvWEukrCVYuOEeip6I/JzozBqEO8vQdMX9kD19AkGnOk6jYsWV3cVCCSJqE6KuyYsJVqlunEClFCgbiYOruYn5WYXM5UCCluGEE7geWTjMM0P3gkYvoUVGqnBzw2i20AmI X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1342; 6:vYq+obGSmDjs+2E5UO68GO6wViG2Y8Qnu5mXJ15RCsD1w7hggBIfDydH0tOgkyycUFAGvpKzX+eybnhFMrWA0IZBg978TS2sZGVqvqhE5aqocw3AZBkPr2opqFZQ9UK98lVlCfPMYM2mYIDrSkqiPV7JBvXg9S4/H9H/SRNTFLwZbEi1q1XLhQSd4no8iFzf9iZyvr6zK4KH4BQBHGCN6hbUbMVJ2Cwkr0r5RnAP/fEws/xJgCDgmh/YiNf7iwcgYgnrlbJlVUSm4h54ZhyVE/Avyq7YbkRlPN+dIdrHClVokjaLIr0PSIjqj4BPzEu/W7WzSubnWZ6JSH8UFRGVwjk/Y9U3ualpVZS3ZDv4rN8=; 5:KaPZBEitLY7otdgqy2T+j8w/0bvtaI/veFCt0PGZT5IkW24qe4qWmQffdgRdF6ZbfuxAO+v/RmXqFqM+s+13IHcq234RBv02XqBGwn+uEcGl5RxfsYHXprJudD3uYe54T7eciIAtldyyYzXLLluELFri8S7Z62arIE2bkYYV0hc=; 24:qXT9YabTWuNWqZdSF5Zwbe2mW4q/ugdILQLAm2wwblsY5uGa9xq7o6DY0uPKNdN3X1RoMeNXmSa7Vnxpli5FbsHSi+IZZuDZ4GHmN1uLI1A=; 7:NPZe64tpxfC69GoCmfnVZFsVSZ1nOBxqZ8oSSztHYr6FqfarwVRcPpMAhtZ/Fa0kgg1vyROfvl/3ndPI+vFa25ha33iwrlElwTI1l35NbUsDItFdHpk7A5Tl+J20iV+uq0QKcBgyMX1pXclM19qkOemwGGNJfaFnQup4s7FNReSBu+U+yHpt/qE2Oic6oImMGueunTuF1G4a5shEfeaC86PsDrBXZ0ZcLho1/wpw/BApDr29D3vI0wpRX5M9618J SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1342; 20:4ctvzTsgY/eKcK+7gfXHiA/d7jV3ZnG/qvOf2cfpQFOSszy/dprO40Ceb163+9itC4fFfpB07f9hkMfMriyHkEPdBnVB5LVduztWWZXqP6GPhTV0dC7It0pKW5uQoPD1sZHjZbptEXXFf+rG3BCK8XONWK9gIpw94fV7PmWVGuI= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2018 11:45:40.2631 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b7eda818-b830-4949-fc9e-08d58d8ef10a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1342 Sender: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These pernet_operations register and unregister sysctl. Also, there is inet_frags_exit_net() called in exit method, which has to be safe after a560002437d3 "net: Fix hlist corruptions in inet_evict_bucket()". Signed-off-by: Kirill Tkhai --- net/ieee802154/6lowpan/reassembly.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/ieee802154/6lowpan/reassembly.c b/net/ieee802154/6lowpan/reassembly.c index 85bf86ad6b18..a9ccb1322f69 100644 --- a/net/ieee802154/6lowpan/reassembly.c +++ b/net/ieee802154/6lowpan/reassembly.c @@ -603,6 +603,7 @@ static void __net_exit lowpan_frags_exit_net(struct net *net) static struct pernet_operations lowpan_frags_ops = { .init = lowpan_frags_init_net, .exit = lowpan_frags_exit_net, + .async = true, }; int __init lowpan_net_frag_init(void)