Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp760658rwd; Sat, 20 May 2023 06:20:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6cH27z+ABuYpTvr30nLj+yiO2QYr1t3AGlZypEFCjzqErEsVt+gC3V6LOSO7cAkEEQ+iL1 X-Received: by 2002:a05:6a20:a386:b0:ef:e589:28a3 with SMTP id w6-20020a056a20a38600b000efe58928a3mr4510280pzk.16.1684588814071; Sat, 20 May 2023 06:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684588814; cv=none; d=google.com; s=arc-20160816; b=VPq+11J0xShwF/+kT8w3QDR5sQdvuRZVFUJNiWfs4uNHcAGWYw/KLs5MAbmol8+Ewh 4LFTnlT3YLgAnsIsq0vZ+Xej8yKqvSsUwuFpvENkblAI4hn4fTg5JJZGXtMvdxcjhjsV ICXLpklp+ZN07CzjXeBCjNWP7CTT7yPOMLbwRCVYIJ4LQ3sduTX31YHaFq7cts5slzJ3 jNVzGSfcYH5Ufn7+Lhm4VNzmG1RvTy/8buRc9owCgpVTsffkrqKzPdMEMj369rQNpRk9 CNsSs9RsPa32KE4JwqN7VGOqyntzHrxLcg8OfyXzH9xVMMTnb+K6dZ6fB8fpBAMiFfx2 EgTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=CXdOSZvoL5O3oxqKXFmz1JwA4EhCcZBXQiOk24iFETU=; b=kyrm2djUYNreD+NQWNKK7r0DTUdmzHCDKIRL/1KFdxW2Ho3gzTbseFmgQws4zbzElS KN6JN9lqLf/yWBBNwtnMTomKT7b9ICbI3Tv1HZRp0hYtG13xPR1D8LDQj5QpAl1iBRvZ W4plhW5Yes+pYG2v+2X6K9U1NaE3lzq64pRfpaE83HRMO23x9EbPjLLkXtzkRiaAt0iI uNTL+DWZ6KtFkVqBxfAVZNMoVTy2TeNVLWn21FnY9L6K81/kSfexAKc5/lAY497DgduY A/JQ+dUY7ODmaY0Wm5gqE0chsxn5A3QAuQ0EjRePpDwFkXAKXDgtWnMpizQPBzmheYsy ugnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020a656a8d000000b0051f0d0d6359si1529151pgu.118.2023.05.20.06.19.58; Sat, 20 May 2023 06:20:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229523AbjETNDI (ORCPT + 99 others); Sat, 20 May 2023 09:03:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjETNDH (ORCPT ); Sat, 20 May 2023 09:03:07 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FC00121 for ; Sat, 20 May 2023 06:03:06 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-133-LK-B9zgTPvWRVmrWC1tFjw-1; Sat, 20 May 2023 14:02:58 +0100 X-MC-Unique: LK-B9zgTPvWRVmrWC1tFjw-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sat, 20 May 2023 14:02:57 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sat, 20 May 2023 14:02:57 +0100 From: David Laight To: 'Willem de Bruijn' , Breno Leitao CC: "axboe@kernel.dk" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "courmisch@gmail.com" , "nhorman@tuxdriver.com" , "asml.silence@gmail.com" , "alex.aring@gmail.com" , "dccp@vger.kernel.org" , "mptcp@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "matthieu.baerts@tessares.net" , "marcelo.leitner@gmail.com" , "linux-wpan@vger.kernel.org" , "linux-sctp@vger.kernel.org" , "leit@fb.com" , "dsahern@kernel.org" Subject: RE: [PATCH 1/1] net: ioctl: Use kernel memory on protocol ioctl callbacks Thread-Topic: [PATCH 1/1] net: ioctl: Use kernel memory on protocol ioctl callbacks Thread-Index: AQHZimPokjARdT8YlUi1kSrEdFLkt69jHkPA Date: Sat, 20 May 2023 13:02:57 +0000 Message-ID: References: <20230519135821.922326-1-leitao@debian.org> <20230519135821.922326-2-leitao@debian.org> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogV2lsbGVtIGRlIEJydWlqbg0KPiBTZW50OiAxOSBNYXkgMjAyMyAxNjowOQ0KLi4uDQo+ IFNpbmNlIHRoYXQgaXMgYSBsaW1pdGVkIHdlbGwgdW5kZXJzdG9vZCBsaXN0LCBJJ20gbm90IGlu IGZhdm9yIG9mIHRoZQ0KPiBzdWdnZXN0aW9uIHRvIGFkZCBhbiBleHBsaWNpdCBsZW5ndGggYXJn dW1lbnQgdGhhdCB0aGVuIG5lZWRzIHRvIGJlDQo+IGNoZWNrZWQgaW4gZWFjaCBjYWxsZWUuDQoN CldoaWxlIGNhbGxzIGZyb20gdXNlcnNwYWNlIGFuZCBkaXJlY3QgY2FsbHMgZnJvbSBkcml2ZXJz IGNhbiBiZQ0KcmVhc29uYWJseSBleHBlY3RlZCB0byBoYXZlIHRoZSByZXF1aXJlZCBsZW5ndGgg YnVmZmVyLCBJJ20NCm5vdCBzdXJlIHRoYXQgaXMgZ3VhcmFudGVlZCBmb3IgaW5kaXJlY3QgY2Fs bHMgdmlhIGlvX3VyaW5nDQphbmQgYnBmLg0KSW4gdGhvc2UgY2FzZXMgdGhlIGFzc29jaWF0ZWQg bGVuZ3RoIGlzIGxpa2VseSB0byBjb21lIGZyb20NCnVzZXJzcGFjZSBhbmQgYSBzdWl0YWJseSBz aXplZCBrZXJuZWwgYnVmZmVyIGFsbG9jYXRlZC4NClNvIHNvbWV0aGluZyBuZWVkcyB0byBlbnN1 cmUgdGhlIGJ1ZmZlciBpcyBsb25nIGVub3VnaA0KKGFuZCwgaW5kZWVkLCBub3Qgc3R1cGlkbHkg bG9uZykuDQoNCk5vdyB5b3UgY291bGQgcmVxdWlyZSB0aGF0IHRoZSBjYWxsZXIgYWx3YXlzIHN1 cHBseSBhIGJ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