Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2251547ybc; Wed, 13 Nov 2019 11:19:45 -0800 (PST) X-Google-Smtp-Source: APXvYqy/vUrKspBj56cQ9mrLBBcDjGImi763jalaTJZRvqzQUkBnX8JI+Nn6hKnKJq/B+5OX4Uqd X-Received: by 2002:a17:906:3285:: with SMTP id 5mr4336279ejw.143.1573672785238; Wed, 13 Nov 2019 11:19:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573672785; cv=pass; d=google.com; s=arc-20160816; b=E6JSn7MnOWO5qKMQ34tHPuRn6BJja4UgUNU0y7xRvn9bJPukFTwoijF9gMFo6cbbC2 ixiN7wSKhGaCePtonVV/p5QMU3qTuMaz8YcX+nXJDqKEd+eVk1zfqL8eEHOXgcwRAxch zCuv3X76gIBS5HWXz2rzFjvhhttAHG9wYmdyFjt+h5zGB8aVWU/I3Cut2aY3p740O7V0 l9WDSlVdG2hCaUfAQPdMabcwPCdD9IiiJZAPN/roMIMSOAhuDk2l1Tkf6g63rDZAFdLE EWn84PzDOePVySxuriQdq9u1TkV/mc5xdZ2IFxd4muyxc/VwNmmQ6gjwP5V1ZZEYsjv7 jS2Q== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=g+gGddVW3XDEVcryoA2Rz6R7ZvGWRutzoceULWkl9jY=; b=p003G6Nsee8Dsg8W29we0F7q5x9RfiMTXRBS9znNDE29er75hJ+5mw+9ofcgIk3B1E 6j6sYXxlaJcDpvXyV/rbforw6a9we+xMVOk0ejEgu3ag+/hRqFqFdpZgzpXJfaMgyKlP jwpfkUiU/kXHgfi6U3/vs6ow0+Swevx+ull+ialUo5HgKy0xXRsD/0kUBA91IPNpQikV Zms3M5vblFvEjRAyv8qC13IKpG7JvxLZod9I4leUYWrCcf4T2dMZwjgvJUcUHutdQk/8 ZJ4qaek27K32EM2RQUkoCpuAMzK7xpCWjdYaeZ8EmH41Uk/+zu4NVNBGy6MXQieZ7Wi4 q4Tw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f29si1901160ejj.110.2019.11.13.11.19.19; Wed, 13 Nov 2019 11:19:45 -0800 (PST) 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; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728010AbfKMRyP (ORCPT + 99 others); Wed, 13 Nov 2019 12:54:15 -0500 Received: from m9a0003g.houston.softwaregrp.com ([15.124.64.68]:44429 "EHLO m9a0003g.houston.softwaregrp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbfKMRyP (ORCPT ); Wed, 13 Nov 2019 12:54:15 -0500 Received: FROM m9a0003g.houston.softwaregrp.com (15.121.0.190) BY m9a0003g.houston.softwaregrp.com WITH ESMTP; Wed, 13 Nov 2019 17:53:31 +0000 Received: from M4W0334.microfocus.com (2002:f78:1192::f78:1192) by M9W0067.microfocus.com (2002:f79:be::f79:be) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 13 Nov 2019 17:52:48 +0000 Received: from NAM05-DM3-obe.outbound.protection.outlook.com (15.124.8.12) by M4W0334.microfocus.com (15.120.17.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10 via Frontend Transport; Wed, 13 Nov 2019 17:52:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dlbW0PwrLFcc7xWd/hdhiwTP6NO7pGwwu16I23ClSY7/1L7DzKGAVWi1Or3Fi9EWtnpdYY0BX6cVlQzd7CjsFffFulgLgrURs62M4TKcLjtjmy/eFaU1RQ3Q20moEsarQgEozXuAU7gR/fRSzSW67msEgjVvstsC9xx0kaLACdwDOdKJiEaOXRfdOwVbwx8nTMUnC7wfESk9uKh1XbEDtUudfsN0v9UXYfVFyNPZPzNiyKy3nVQUlwiwoUVANOwAuk3vBaNGntBMdPOz5cNILWYigckdGi1atgXXVJl/d7leh9IJ0VttpYIm+u5RfQhCTpoq8sE4jilaZxjD3rBGvQ== 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=g+gGddVW3XDEVcryoA2Rz6R7ZvGWRutzoceULWkl9jY=; b=c5qMW+OUmgJqFJk+XHGAB8weg6a+qkCvjXYjuPrAPXP1Imu6svqWruzAzu9x+A39Z9+4WZI1ypW1bWIGOrbNwuGLvHghjhIBy0Eb37IAELPJOg9AITdFwgqTIxtUGoH3yrzfOaoo5eLK2Py8rIp45QeGEnz+n3P2aPhTCCHMhrvDkAFVH7Jo2iJB17cpGmTKWq4liRdQc1t+r341Mwgxb/gLgON+h9lIl7e/JdYlaPBTXf07VkNAcagxUS6E32Nri7Ob30LnbigpvvSlHU4yQUyHzT6YPYlPhfRPwbZ8rfd+arz57vjJURO02ZAeUhqIMPP4S+y2Rq9AkEjX7F7wfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Received: from MN2PR18MB3278.namprd18.prod.outlook.com (10.255.237.204) by MN2PR18MB2702.namprd18.prod.outlook.com (20.178.255.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.22; Wed, 13 Nov 2019 17:52:48 +0000 Received: from MN2PR18MB3278.namprd18.prod.outlook.com ([fe80::2914:6699:d7e5:de45]) by MN2PR18MB3278.namprd18.prod.outlook.com ([fe80::2914:6699:d7e5:de45%3]) with mapi id 15.20.2451.023; Wed, 13 Nov 2019 17:52:48 +0000 From: Lee Duncan To: "Martin K. Petersen" , "wubo (T)" CC: "cleech@redhat.com" , "jejb@linux.ibm.com" , "open-iscsi@googlegroups.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Ulrich Windl , Mingfangsen , "liuzhiqiang (I)" Subject: Re: [PATCH v3] scsi: avoid potential deadloop in iscsi_if_rx func Thread-Topic: [PATCH v3] scsi: avoid potential deadloop in iscsi_if_rx func Thread-Index: AdWPliQLA8PIGoMpTtGRxNyp42qoAAKLPyHxACIApAA= Date: Wed, 13 Nov 2019 17:52:47 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P123CA0028.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600::16) To MN2PR18MB3278.namprd18.prod.outlook.com (2603:10b6:208:168::12) authentication-results: spf=none (sender IP is ) smtp.mailfrom=LDuncan@suse.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [73.25.22.216] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7add3b6a-636a-41c8-b9bb-08d768624b3f x-ms-traffictypediagnostic: MN2PR18MB2702: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0220D4B98D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(366004)(39860400002)(346002)(396003)(376002)(136003)(189003)(199004)(7736002)(11346002)(229853002)(4326008)(446003)(66066001)(2616005)(6436002)(7416002)(5660300002)(52116002)(256004)(14444005)(3846002)(6116002)(478600001)(14454004)(186003)(6486002)(66946007)(6512007)(66476007)(66556008)(486006)(6246003)(476003)(66446008)(64756008)(386003)(102836004)(31696002)(36756003)(53546011)(6506007)(99286004)(86362001)(25786009)(31686004)(2906002)(71190400001)(71200400001)(26005)(54906003)(8676002)(8936002)(316002)(110136005)(76176011)(305945005)(81166006)(81156014)(80792005);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR18MB2702;H:MN2PR18MB3278.namprd18.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: suse.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yBQMzg+j+fven3k9Nk8yaI4bJCAxlao34FreDBxOB3BGPAlpQPHFmYM/Xu5debZ42yu42IVhN0CR3XMouX+fiiJcdr0moWeXhpNdTiJYg+6c4hNXFr5FpJbN8S1hNyyRolmmIOWj2aep1uOQkY2xBRCL2EjRddS/D0U42wQ+521o9UsbCxLOMbVGzBqY5liLedFxH7CjXMB8DSDFotckm0po0iXjHX1iaOlnsxRihhGwtbPe/ofpNgGrIq74xyUIowt2hnzuGESzC958hLKkGHX0aiAyCny7APDXFaao/7WAaXvVUSBpAkEH+v05kNJpsItO81atkE+XzE1bp4f8WIe9miKpKg/1O9EaMPDPCgmd8OsIipTQw9ve/yqb3xof87hNb80qYVgw5ysH0AvlLnxQZCFKNlRX33jEsLXVSg9Xg33PS0IDseJQ0EkZ+WN7 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <1424B068C9B9EF449149B2E38A3C57CF@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7add3b6a-636a-41c8-b9bb-08d768624b3f X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2019 17:52:47.7794 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 856b813c-16e5-49a5-85ec-6f081e13b527 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: v4O4qOup4K498SsG9Hw61rjNDTm1zhqIiuoN6iRkZYfi4+A5jPOoHPyAQlXeDLpMBpHFmtk+7/Sj6efe4H1DpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2702 X-OriginatorOrg: suse.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTEvMTIvMTkgNTozNyBQTSwgTWFydGluIEsuIFBldGVyc2VuIHdyb3RlOg0KPiANCj4+IElu IGlzY3NpX2lmX3J4IGZ1bmMsIGFmdGVyIHJlY2VpdmluZyBvbmUgcmVxdWVzdCB0aHJvdWdoDQo+ PiBpc2NzaV9pZl9yZWN2X21zZyBmdW5jLCBpc2NzaV9pZl9zZW5kX3JlcGx5IHdpbGwgYmUgY2Fs bGVkIHRvIHRyeSB0bw0KPj4gcmVwbHkgdGhlIHJlcXVlc3QgaW4gZG8tbG9vcC4gSWYgdGhlIHJl dHVybiBvZiBpc2NzaV9pZl9zZW5kX3JlcGx5DQo+PiBmdW5jIHJldHVybiAtRUFHQUlOIGFsbCB0 aGUgdGltZSwgb25lIGRlYWRsb29wIHdpbGwgb2NjdXIuDQo+PiAgDQo+PiBGb3IgZXhhbXBsZSwg YSBjbGllbnQgb25seSBzZW5kIG1zZyB3aXRob3V0IGNhbGxpbmcgcmVjdm1zZyBmdW5jLCANCj4+ IHRoZW4gaXQgd2lsbCByZXN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