Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1003432ybb; Fri, 3 Apr 2020 16:12:09 -0700 (PDT) X-Google-Smtp-Source: APiQypJ65HQZLYY/MeN5+O2JleqHg1g+NIOOHJHU8L9MPwPf/fAXRUrcdGUmJhmyeV+F4EmxkjrO X-Received: by 2002:a05:6830:2151:: with SMTP id r17mr8147110otd.100.1585955529062; Fri, 03 Apr 2020 16:12:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585955529; cv=pass; d=google.com; s=arc-20160816; b=NWu7MCxWTlvU/aktGOZRX3XwIj3hbF44vQrDmwOBeEnZRTlDPzbY/ayFcWtbb3sZ+Y /uFqrkZFQPpI2Ywj1thVgotRH3cf4pGvPkmBNItGPqqFTN/DsPGxC8m2VxYizkQsBz6G 7N4M8keH/UxqGkLx9Jj70yZq+5ELZs1/2SfnEak0dAd12LDK1kKEI/6clQUQpY1GTZu3 cnCHbg8HlOFA01nQMnpK5XTOEK1dPiwkqvPQM9rGyDXIKFWTj/nAzs2bnXIqgLvxoSIu 5sShYlz2tSPM25SuYu+xyyaZj8wxMdEZdf0r2kMstAbOyP8zqcED+jJSQXf5B+ZeCU2w 5dVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=/oD9mfSlG8yRT/eqVfElYn1r98GatJqLCU8NH82NxMA=; b=dpjH+fKMnE98SilhHgUNaFp7VDA7+skA0b7GLMKKYy88j3TKVivh9ngB3kp35CkXvp cFPexbLr1ke9RerbfJeiJPbFP41QdTEXep3Puind8B+cOrVlJCp54VquCpVKcSrDCK05 vgRqp/7CTh9bBUYn/P7soyI/PZ7LShgqf7J8nkNHOEG85WEDJaE6SQLaZdECoXLT6r69 gEgRy9NL4ZTRQiKDSQp79hbv3DlPUqqF85N6a7NKxJkQl+3pBKrHZhL3JTMtNgCHfhGm zPugQud2av6/NFcXHCixnLEZWmTWZAM8qVHa3m1+7BaKeE8w2PqeZQBQalBwif/umTVO 3FtA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=KwLKEZ0J; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c26si5154577ooe.30.2020.04.03.16.11.56; Fri, 03 Apr 2020 16:12:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=KwLKEZ0J; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728375AbgDCXLe (ORCPT + 99 others); Fri, 3 Apr 2020 19:11:34 -0400 Received: from mail-eopbgr770108.outbound.protection.outlook.com ([40.107.77.108]:61282 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727829AbgDCXLe (ORCPT ); Fri, 3 Apr 2020 19:11:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AsvpIfzW9npm28JbpMg10LZRVPBmbpfdsKLcHL3WAxnFNBBS+fkruwioXrVgHlQCU/ID/ipnlkwMuwv9yCGSZUS+2hDjgAnIzszL2AZ2GRRtR2f3fezFAiXOPBpVDX8puWGXebbesFzwWsiY1eSVuiT8II2kVZ8dtChsSLvbM8gfx3FockAoTOkkUEtMe2dDuIPyabPdnU6vMaVqf8fs4SAGtsTkfBlN1g4wdPuWrqUDzDjzn/ygqyQDGUOF7WHOhlKRhSdMvdpisB1T8vgZUDD88RRtD8dg+IyteVJTTLHxBwmWjVpn4iFnEUWH/y7ywdWtGooWLuodb41CPDkaCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/oD9mfSlG8yRT/eqVfElYn1r98GatJqLCU8NH82NxMA=; b=A/vvpehCClRBIr90YMvPtyDpD3Lux3d8eOpOz0jyANicDsAYZkh+NTx7hu7e6KJGSYfGCdVYqi35ZSzG7EtHaoEmWJgIo0WdshKiHIfzHrblbo+IAwljIwHgA8ZlVm2icp4YeHDMuRVlzCxhyzpiQIi0s3Fh4c5spaADarUwqvaCgNOiLZTd0mjUSzPdX8L+/B8/3HPh7uaCGgbAD9HPMnb8toom7W33VcAZtTupu6mvQwn/7h2jTk/R/ZVwFxGSE2yHgDPBg+wFXun8hZZ3Qg0Ycb3DqKYkn4i6JJ701KY6hUCJEoaFM81+f7dJrydgpQ5/hd2tKX4cWKP5g6qthg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/oD9mfSlG8yRT/eqVfElYn1r98GatJqLCU8NH82NxMA=; b=KwLKEZ0JwtejyWes6iQR/ZZ/2TYP8Ftue7ewhHeDwWybXqsIA8s25G3zUq/Rry+UFlM6j0ddkVsQt9XujYwEpzQ0OJnXKJa8n2DBdq9nhcqKREbnGjQS6zh+tH8Gh6a1bu8G0FlNbj+vh7uR4bHOIAOtHVAe3a63hkRA+G7VXi0= Received: from BN8PR21MB1155.namprd21.prod.outlook.com (2603:10b6:408:73::10) by BN8PR21MB1204.namprd21.prod.outlook.com (2603:10b6:408:76::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.4; Fri, 3 Apr 2020 23:11:31 +0000 Received: from BN8PR21MB1155.namprd21.prod.outlook.com ([fe80::d11:18b7:289c:ea17]) by BN8PR21MB1155.namprd21.prod.outlook.com ([fe80::d11:18b7:289c:ea17%6]) with mapi id 15.20.2900.010; Fri, 3 Apr 2020 23:11:31 +0000 From: Long Li To: Pavel Shilovsky CC: Steve French , linux-cifs , samba-technical , Kernel Mailing List Subject: RE: [PATCH] cifs: Allocate crypto structures on the fly for calculating signatures of incoming packets Thread-Topic: [PATCH] cifs: Allocate crypto structures on the fly for calculating signatures of incoming packets Thread-Index: AQHWB7MtPXoQyB3r4UeEU1cU9RQrrKhnr/SAgABZ51A= Date: Fri, 3 Apr 2020 23:11:30 +0000 Message-ID: References: <1585696903-96794-1-git-send-email-longli@linuxonhyperv.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=longli@microsoft.com; x-originating-ip: [2001:4898:80e8:7:ede7:db5c:c6fe:798] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e46a7230-fd6a-4cab-67d0-08d7d8245872 x-ms-traffictypediagnostic: BN8PR21MB1204: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0362BF9FDB x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR21MB1155.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(4636009)(366004)(39860400002)(346002)(396003)(136003)(376002)(71200400001)(81166006)(6916009)(54906003)(478600001)(186003)(52536014)(33656002)(8676002)(10290500003)(86362001)(82960400001)(2906002)(8990500004)(4326008)(76116006)(6506007)(55016002)(66946007)(82950400001)(81156014)(5660300002)(316002)(7696005)(9686003)(66556008)(66476007)(8936002)(66446008)(64756008);DIR:OUT;SFP:1102; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ETrp+1Z8RvfWF1iAMQUxE6ve7broIVULVUnUiJyzj8xIosU6FbYc1eMMk46njJwCbowl5Hkz/brLF/nX6y3gTq6fi4gQvSn/zlC0H1eYavfkTQrMzOgEUGG8p46GNrudLmOz3shXuxjI+hZBNnVxEvXdghowIb4tLpZJdLDEl/ZuBFu7Ro1gcozSY4YaPEBqeZcXJ8SD6troUp9aKkYRN8cNuH2HqAvEiYlqm/ZjPvrhaNGfs28holsq+BVi9qRzRBWxrYxsyDAoCr7xSI/KG+sVn9OCT+/Swr4LMMdhSceNy7XsAfVvMVhCus0jk+oJzp15iqVZddqGfc6M46Ow6i9ZTkaVhR4m0lwH7oxt+ASKfrHAz4bVFf6D6MFVcDmIF6JSVy7O/8f+u63HfSG1verF5qtGaqrgOOgdFy2r5iSIFcGWTwgLuoY6BRQf2Qes x-ms-exchange-antispam-messagedata: ILNsrKAqb1u3wD9DR6UDWzCX+NfgvCx+NOED4j2MAuham9mojDGWwlK3rR5XF/8+v1T1cMhyb2gV4t76ruNL7xefmgssmmSY+5VzLQsH4MEdfta5+Ph+hTo+dWJrMi2rPaPmBaozMYK5/Q+xBq8ECIp6r0pEMpra4x2kLNaEZbBMo8OKangUKarlF64hIuLOdDwIVuHW47rT2n5jkVDJrg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: e46a7230-fd6a-4cab-67d0-08d7d8245872 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2020 23:11:30.8610 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: G5H8/Xk7Adcg99Kpxa3fAzjzyS1lbikgy/P45xd+ZrFDnht4wP49fyZjWh66AIbytqZNlAi68mB6IdpddNiSuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR21MB1204 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PlN1YmplY3Q6IFJlOiBbUEFUQ0hdIGNpZnM6IEFsbG9jYXRlIGNyeXB0byBzdHJ1Y3R1cmVzIG9u IHRoZSBmbHkgZm9yIGNhbGN1bGF0aW5nDQo+c2lnbmF0dXJlcyBvZiBpbmNvbWluZyBwYWNrZXRz DQo+DQo+0LLRgiwgMzEg0LzQsNGALiAyMDIwINCzLiDQsiAxNjoyMiwgPGxvbmdsaUBsaW51eG9u aHlwZXJ2LmNvbT46DQo+Pg0KPj4gRnJvbTogTG9uZyBMaSA8bG9uZ2xpQG1pY3Jvc29mdC5jb20+ DQo+Pg0KPj4gQ0lGUyB1c2VzIHByZS1hbGxvY2F0ZWQgY3J5cHRvIHN0cnVjdHVyZXMgdG8gY2Fs Y3VsYXRlIHNpZ25hdHVyZXMgZm9yDQo+PiBib3RoIGluY29taW5nIGFuZCBvdXRnb2luZyBwYWNr ZXRzLiBJbiB0aGlzIHdheSBpdCB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