From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DA5BC352A3 for ; Tue, 11 Feb 2020 11:16:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0D11820714 for ; Tue, 11 Feb 2020 11:16:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728009AbgBKLQp (ORCPT ); Tue, 11 Feb 2020 06:16:45 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:26140 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727994AbgBKLQp (ORCPT ); Tue, 11 Feb 2020 06:16:45 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-23-PgiBXMjfOvS6uoYNOFN1Uw-1; Tue, 11 Feb 2020 11:16:41 +0000 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 11 Feb 2020 11:16:40 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Tue, 11 Feb 2020 11:16:40 +0000 From: David Laight To: 'Pavel Begunkov' , Jens Axboe , "io-uring@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] io_uring: fix iovec leaks Thread-Topic: [PATCH] io_uring: fix iovec leaks Thread-Index: AQHV3emh7zgsynhUKk2BR9GeKazohKgVyZ8AgAAQxACAAAIkUA== Date: Tue, 11 Feb 2020 11:16:40 +0000 Message-ID: <0d61cafdb0b040ac8bb3542b6022d0fc@AcuMS.aculab.com> References: <03aa734fcea29805635689cc2f1aa648f23b5cd3.1581102250.git.asml.silence@gmail.com> <1255e56851a54c8c805695f1160bec9f@AcuMS.aculab.com> <045f6c04-a6d8-146c-75f3-2c0d65e482d6@gmail.com> In-Reply-To: <045f6c04-a6d8-146c-75f3-2c0d65e482d6@gmail.com> Accept-Language: en-GB, en-US Content-Language: 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-MC-Unique: PgiBXMjfOvS6uoYNOFN1Uw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org RnJvbTogUGF2ZWwgQmVndW5rb3YNCj4gU2VudDogMTEgRmVicnVhcnkgMjAyMCAxMTowNQ0KPiBP biAyLzExLzIwMjAgMTowNyBQTSwgRGF2aWQgTGFpZ2h0IHdyb3RlOg0KPiA+IEZyb206IFBhdmVs IEJlZ3Vua292DQo+ID4+IFNlbnQ6IDA3IEZlYnJ1YXJ5IDIwMjAgMTk6MDUNCj4gPj4gQWxsb2Nh dGVkIGlvdmVjIGlzIGZyZWVkIG9ubHkgaW4gaW9fe3JlYWQsd3JpdGUsc2VuZCxyZWN2KSgpLCBh bmQganVzdA0KPiA+PiBsZWF2ZXMgaXQgaWYgYW4gZXJyb3Igb2NjdXJlZC4gVGhlcmUgYXJlIHBs ZW50eSBvZiBzdWNoIGNhc2VzOg0KPiA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