Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932302AbdGSSjR (ORCPT ); Wed, 19 Jul 2017 14:39:17 -0400 Received: from mail-co1nam03on0115.outbound.protection.outlook.com ([104.47.40.115]:41024 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753577AbdGSSjP (ORCPT ); Wed, 19 Jul 2017 14:39:15 -0400 From: Pavel Shilovskiy To: Ben Hutchings , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , Sachin Prabhu CC: "stable@vger.kernel.org" Subject: RE: [PATCH 3.18 36/68] Handle mismatched open calls Thread-Topic: [PATCH 3.18 36/68] Handle mismatched open calls Thread-Index: AQHSxc4ubMBV382SM02F56KopyGeDKJT9MQAgAf6lNA= Date: Wed, 19 Jul 2017 18:39:13 +0000 Message-ID: References: <20170505183212.587141964@linuxfoundation.org> <20170505183214.050929158@linuxfoundation.org> <1500050552.2707.145.camel@decadent.org.uk> In-Reply-To: <1500050552.2707.145.camel@decadent.org.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Ref=https://api.informationprotection.azure.com/api/72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=pshilov@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2017-07-19T11:39:12.0613396-07:00; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General authentication-results: decadent.org.uk; dkim=none (message not signed) header.d=none;decadent.org.uk; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [2001:4898:80e8:4::4d0] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4PR21MB0136;7:3WkhF0knUXmT2Caaf8fYOXFxG9VLWBUX22OT+4SqnVPRl9hys8Px21mwUD5DWUSx0Nz5xa1k/t7LxctGMq9y/eyIKdLGRGM6Nh8nCLfje95fh8EPdAPz844UpS/rnrHscA9aMM14021FEIMMp9Gh/I/GcLMwq1uFA/MSmdmLkalfkgIFadvDRJEfVmU780jFB+Os0LOn58E8i8h2Lh1g3Of3dt0dpI4Apr0H8NZ9WhpKYKGweOBFxySPa0KAZSE/UhQBWttR8UEvDZD2VcvlaRthenkIRpK+NbzK3QrSgtEQ7sqKC5shl02UwTualFWMucgFghtGX25XQ+zq/EYgx6rMQwo/V6e4cicF/77JvfSRCR9ZL8D2s3ZkxhkYTqoxe2LZm3Ib5+amrQW8yCVrYGmE2ZijENNgszjttwSzGrGc4ilBu8Lt89oMlBs6UQ1/SavaC/ycyV4m2hpOSWxexeULKc5U+pzqSKJx9rgPG3rtp9PPw1kTdPOAhXwpAWDqnhtyB7VqquGyoxStTKwKxi4z+w4Ccvet8ezSg3HA/ZxGLSk8q4JDuomzIOeFWwHQnR7ZEEoP8kL+lrIUTsnuvkeM4mUQr92mWykFv+x7qsPkYznk6JH/MSCjKVB+v78iX7UlfJ5SV96viigiO1oEF3J1zCGOWH6xNehYzSVAa2M7nxhaqy9IzMHf7CHk7O4PAAHwcJviFnh06OIoEKU+tVhfOqmTmN7wwmYoJiGtBZr4Si6HT83FMCHOPB89BZJeLY5jXd4AP7dnyFedUNvZRFmk1xojJ6B81YdDxL5rDIQMB5Tw8EqZ3AFG0VOB1S6g x-ms-office365-filtering-correlation-id: 01e1d57b-5a9b-4d0e-88a9-08d4ced57411 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(2017052603031)(49563074)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY4PR21MB0136; x-ms-traffictypediagnostic: CY4PR21MB0136: x-exchange-antispam-report-test: UriScan:(236129657087228); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(102415395)(61425038)(6040450)(601004)(2401047)(2017060910075)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(61426038)(61427038)(6041248)(20161123558100)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR21MB0136;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR21MB0136; x-forefront-prvs: 0373D94D15 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39410400002)(39840400002)(39450400003)(39400400002)(39860400002)(39850400002)(377424004)(24454002)(229853002)(25786009)(86362001)(8936002)(6246003)(38730400002)(2501003)(6436002)(74316002)(4326008)(5005710100001)(14454004)(5890100001)(478600001)(7696004)(2906002)(50986999)(7736002)(2950100002)(33656002)(54356999)(9686003)(10090500001)(3280700002)(99936001)(305945005)(99286003)(53936002)(8676002)(76176999)(55016002)(3660700001)(6116002)(102836003)(77096006)(81166006)(6506006)(2900100001)(5660300001)(10290500003)(189998001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR21MB0136;H:CY4PR21MB0135.namprd21.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_002_CY4PR21MB0135DB23AC651C67F9635B3CB6A60CY4PR21MB0135namp_" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2017 18:39:13.5963 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0136 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5594 Lines: 82 --_002_CY4PR21MB0135DB23AC651C67F9635B3CB6A60CY4PR21MB0135namp_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MjAxNy0wNy0xNCA5OjQzIEJlbiBIdXRjaGluZ3MgPGJlbkBkZWNhZGVudC5vcmcudWs+Og0KPiBP biBGcmksIDIwMTctMDUtMDUgYXQgMTE6MzIgLTA3MDAsIEdyZWcgS3JvYWgtSGFydG1hbiB3cm90 ZToNCj4gPiAzLjE4LXN0YWJsZSByZXZpZXcgcGF0Y2guwqDCoElmIGFueW9uZSBoYXMgYW55IG9i amVjdGlvbnMsIHBsZWFzZSBsZXQgbWUga25vdy4NCj4gPiANCj4gPiAtLS0tLS0tLS0tLS0tLS0t LS0NCj4gPiANCj4gPiBGcm9tOiBTYWNoaW4gUHJhYmh1IDxzcHJhYmh1QHJlZGhhdC5jb20+DQo+ ID4gDQo+ID4gY29tbWl0IDM4YmQ0OTA2NGExZWNiNjdiYWFkMzM1OThlM2Q4MjQ0NDhhYjExZWMg dXBzdHJlYW0uDQo+IFsuLi5dDQo+ID4gLS0tIGEvZnMvY2lmcy9zbWIyb3BzLmMNCj4gPiArKysg Yi9mcy9jaWZzL3NtYjJvcHMuYw0KPiA+IEBAIC0xNDYxLDYgKzE0NjEsOCBAQCBzdHJ1Y3Qgc21i X3Zlcn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wqAJLm5l ZWRfbmVnID0gc21iMl9uZWVkX25lZywNCj4gPiDCoAkubmVnb3RpYXRlID0gc21iMl9uZWdvdGlh dGUsDQo+IFsuLi5dDQo+IA0KPiBUaGlzIGRvZXNuJ3QgbG9vayByaWdodC4gIGhhbmRsZV9jYW5j ZWxsZWRfbWlkIHNob3VsZCBiZSBpbml0aWFsaXNlZCBvbmNlIGluIGVhY2ggb2YgdGhlIDMgc21i X3ZlcnNpb25fb3BlcmF0aW9ucyBzdHJ1Y3R1cmVzLCBzaG91bGRuJ3QgaXQ/DQo+DQo+IEJlbi4N Cg0KWWVzLCB5b3UgYXJlIHJpZ2h0LiBUaGFua3MgZm9yIHBvaW50aW5nIGl0IG91dC4NCg0KR3Jl ZywgSSBwcm92aWRlZCB0aGUgcGF0Y2ggdG8gZml4IHRoZSBhYm92ZSBidWcgKHNlZSB0aGUgYXR0 YWNobWVudCkuIENvdWxkIHlvdSBwbGVhc2UgbG9vayBhdCBpdCBhbmQgYXBwbHkgdG8gdGhlIDMu MTgueCBrZXJuZWwgaWYgaXQgaXMgc3VpdGFibGU/DQoNCkJlc3QgcmVnYXJkcywNClBhdmVsIFNo aWxvdnNreQ0K --_002_CY4PR21MB0135DB23AC651C67F9635B3CB6A60CY4PR21MB0135namp_ Content-Type: application/octet-stream; name="0001-CIFS-Fix-handle_cancelled_mid-callback-initializatio.patch" Content-Description: 0001-CIFS-Fix-handle_cancelled_mid-callback-initializatio.patch Content-Disposition: attachment; filename="0001-CIFS-Fix-handle_cancelled_mid-callback-initializatio.patch"; size=1884; creation-date="Wed, 19 Jul 2017 18:36:37 GMT"; modification-date="Wed, 19 Jul 2017 18:32:05 GMT" Content-Transfer-Encoding: base64 RnJvbSBhYTBkNTdlNGRkMzUxZmE3NDkyMzUxNTA5MzU3NTE0ZTkzYWFiMzdiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQYXZlbCBTaGlsb3Zza3kgPHBzaGlsb3ZAbWljcm9zb2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