Message ID | 20221028205646.28084-1-decui@microsoft.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1039680wru; Fri, 28 Oct 2022 14:00:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HvkDadFItpuSTKpkZBKRlw8pQTOV97GR4rEqYU2YDqQK6b+P8n23RHl01AwUGpv3Jo6HE X-Received: by 2002:a17:906:99c2:b0:7a8:c167:1d93 with SMTP id s2-20020a17090699c200b007a8c1671d93mr1081404ejn.490.1666990808861; Fri, 28 Oct 2022 14:00:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666990808; cv=pass; d=google.com; s=arc-20160816; b=Dw606gNCCl0fgOD5OlpIQ/RUB4fWun8Z82FeweJkkGcT/8b5Td7YT8wrBLaxYMAnoD 9bIoKT6Al2OwZBvHM///tCSM7pxjT1uSiESDiE9nd0XceGjOD4V4a5rCoGUTb+hei2na Fl1vgbNIvIKBqzAGCpfx6h4iiG7gnbe1Nsfb1OAzUjWsRuO++vp+CfSsQI9y1F85KbTd 4TDYt4BsxJ+00LI/4zfHrEdsk4cgdyKvllF/1w1epT2ecc5zVmaasNG5Izi5pBLsfHqQ h9Kux7hE5RAaRMqrBFfuXaEgVK199bHF0asMVo2RGfXbgNj2O8Yu1lgxm0jKupnsfm9v Xx2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:reply-to:message-id:date:subject:cc :to:from:dkim-signature; bh=C/HcIQanv8L7Cl7QbISriEDg7fjwNLZJqIuQOnDchz8=; b=bg8x1kw0H1bViTfXizrcR3Q+Nb4BDSzQ8Fps32utAfT9VJz1XSOrKVbtBrausvtVtb FaQgw+w/BBtXTsDTTPs2qCAEBtopQ5Xep0pVKKbFJjplm0Z82rHMXNM5b6vAxNIKY9/V fdM7g86Z9VA+DbCGMy8tMcHa/84Hx7C4d/31rFztuOoVmFSUXJMzCysJeJGfoqLhh8RF vGzmbb0a1rty1c0v/754ww15WuVXeHlnfSLkaQG4bqG4ccvmMmG45ddfEu4Wn03q07YM QW6aptxO2SJMNpYt4blAOqZ+6iytlRacAgvoDLAesz06EXJiaB3PEJT48oUdjhufqS1P eVAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=i3qL42Uf; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x8-20020a05640225c800b0045878eab247si4959916edb.193.2022.10.28.13.59.45; Fri, 28 Oct 2022 14:00:08 -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; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=i3qL42Uf; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229667AbiJ1U5x (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Fri, 28 Oct 2022 16:57:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230166AbiJ1U5l (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 16:57:41 -0400 Received: from na01-obe.outbound.protection.outlook.com (mail-eastusazon11021020.outbound.protection.outlook.com [52.101.52.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB6B6241B02; Fri, 28 Oct 2022 13:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LaNraUbMwZmYPx6/pcjX4fgzYOvqPGJKIQza9Cv6TT4foCMWpaV8C0Y7JfVZmPM64PHhicDd7Ipx4dFJU0PpBVkaQj2QNdFYrfFwH16xOc6Uv+JvSA2ckg/dW7FsjlBL57o/RrjHxjYTYyBth6Fl3NoKGnMMMymVm4lZbYAUkwEOLiPbauSmU8hJIW76U2O4GMl/lZa+VHxSyxFiMJctE9N6xxBhKsAWZNauRr0vyoYVNG8d/SoegCd4vKbmfnDI66kIOBD1qaSMjPBQtqimgCWK0+0u4pgPybThkFGxp+YdN53aZ52EGUerIV2d19hX3jU7JwzUbtLxmr9g1fuWTg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C/HcIQanv8L7Cl7QbISriEDg7fjwNLZJqIuQOnDchz8=; b=D73ZoUnU2Jr9uxuV4cFH20g/XA2+idumttmwV6LPAlqYIOnjn+RXtGYdJta7+iwB+6LrqgvLaUk4QmjyJ9G8RMgs2EcGMHfKqgS6f64oQxTLBCHL60tkUz4gFhhR2tAhe5xnZKT28eKO6xgH8a6H4qSJn4NFbpaZaP26O8kHM0qWsN0lf8/txUjtaZKhvLjcVgXCpGZ4MzK1Q8/r3KZ5NnFvNWUue4krbax43XKFE02phh0QW/dBGvL0jj6bsxibL+nIvgr0vzPa+TuiX1VSlEzXgY9jK2IIske0j12evy776Q6GRpLILCgS/mgaCsFQpXlZIdUWE3xiWk/t5c13yQ== 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=C/HcIQanv8L7Cl7QbISriEDg7fjwNLZJqIuQOnDchz8=; b=i3qL42UfrXylpBkbtkftkdhITvFOSGEFDnQsQ2UwKu1AC14iubtrMb+g+2hPhnXQVhUSTGAY23OVb0+6AcaiQw6zqUaLiebtGliseapOTZFjSIKuTLwpzST8v6RvlzmrBE13ooL3oodpE5rqYLmXczZ+JLl88MvmZt1hxiOaLhc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; Received: from BL0PR2101MB1092.namprd21.prod.outlook.com (2603:10b6:207:30::23) by PH0PR21MB1912.namprd21.prod.outlook.com (2603:10b6:510:d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.9; Fri, 28 Oct 2022 20:57:24 +0000 Received: from BL0PR2101MB1092.namprd21.prod.outlook.com ([fe80::a746:e3bf:9f88:152f]) by BL0PR2101MB1092.namprd21.prod.outlook.com ([fe80::a746:e3bf:9f88:152f%8]) with mapi id 15.20.5791.010; Fri, 28 Oct 2022 20:57:24 +0000 From: Dexuan Cui <decui@microsoft.com> To: sgarzare@redhat.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, arseny.krasnov@kaspersky.com, netdev@vger.kernel.org Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, kys@microsoft.com, haiyangz@microsoft.com, stephen@networkplumber.org, wei.liu@kernel.org, linux-hyperv@vger.kernel.org, Dexuan Cui <decui@microsoft.com> Subject: [PATCH 0/2] vsock: remove an unused variable and fix infinite sleep Date: Fri, 28 Oct 2022 13:56:44 -0700 Message-Id: <20221028205646.28084-1-decui@microsoft.com> X-Mailer: git-send-email 2.17.1 Reply-To: decui@microsoft.com Content-Type: text/plain X-ClientProxiedBy: MW4P223CA0022.NAMP223.PROD.OUTLOOK.COM (2603:10b6:303:80::27) To BL0PR2101MB1092.namprd21.prod.outlook.com (2603:10b6:207:30::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL0PR2101MB1092:EE_|PH0PR21MB1912:EE_ X-MS-Office365-Filtering-Correlation-Id: b87d799c-be3b-44ca-5a3d-08dab927032a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ll6WwaKuHXfu22pvpGpflGE7p4Tu5N2C5BmSX4qOgLzBbzlcvLgUaKroqy7TmkBoQj4OvvK915l/1jKa3l17ZhHs8x4E2kSZ1iXYViCVuc3M9jS3YFqvESnMFjWD29R7YAVORRgDbNQHAfLnM4afPAShlk3/i6I1Bh2jMy8wnX9Zn80KYTtNCNIkM0TClbtUyXsVwOKfRf3IMtNwq+m2kEKwgNHFcvjapvndchzEI+8KL6zg3F+fn8sBTwNQMzijlozFSVTp8wrICMk97OCV1MC+muRfcqDVuhoNO1rlMlo3iRflFpDriloDs6uQ7ZJnCGDshd34l2WjrCntoEEQvbsNj+U1dz/Z7ue4tTBjITBFlmLu5yaEYzpeBgvqLoCduPDd72QxgEzoj2fgFGHQznKk2lp/CJQtWBpmij5FzR5RCj2ACRv5M6BOgeJrxADXpuDvjUOHKxR7DGlKdgjH741NTfk/e2knVhRmlTPMrn7Riysyk3sJ+qCOvbMAhLGqS/73klPijv9f73x2o0uymiE4COYJzkBVPvJbxj3tDTLFrHWVIZAqS+kotenWpMt+qC36jkdU3wK7dJT9fMMNyFAJhp1Aij3I2XHhUqR6jqpvjnamRX4ElVQl0IrXnq+MStz6e47V0K+OJ38fYT4i8AQoca6tTdDzDI15L0zk8ZLQ5MbYmvEtHaL7yvHMS9fyswVkUJ7kVxUPSfHVt589YDdDjGFj/hHEepq3rQjVT5AkgAwPGckPDbnHOQLsBT03 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR2101MB1092.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(136003)(39860400002)(376002)(346002)(366004)(451199015)(6666004)(107886003)(52116002)(6506007)(82950400001)(8676002)(4326008)(7416002)(2906002)(3450700001)(66556008)(5660300002)(82960400001)(38100700002)(1076003)(41300700001)(86362001)(6512007)(66476007)(66946007)(316002)(36756003)(2616005)(186003)(83380400001)(6486002)(10290500003)(4744005)(478600001)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rTq2IjoTVgLL2Kns96PQQYBq/TtqCL5FSVbtnubFwci49DzrCJr82e2tGV2sCQxuHZCOzhCb50YdNiuVfugO+V8VCchWzq6dFOY4T14rFWPBkgZkZKg4vMquXkDkScHpnspsSI1t2WSDBwx9hCoVFQxxYECbORT6jOCTpXU8tCDm28GvIeEatJOQjpuHMLbePQCWyX1YX32sXswgnsHIYFHKDiCkwcWPH4cUni5KqaC+WM3muWL/faw7XC+3V7oc61abwrGDLvvxG5CyQo7SW7xxkDlaeLsAfb0pqF7hdZW9VUel/KCsm32dW1YWt0x5VRoaV3MCk4cixnzXjcB90MWJmmzrHCyWtE5a18Z12AUR8eslx+PWClD6zqiG5nMfgj9/kIjDlFWqK33nfK4D19VamgDSLTUKtCoE9t/Azg/j0bBK0Yt6sClz2AWJNPJSLxhLmqPiUjhj41ZUo2M9z25891bBV4TKdkj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fdjWr15fX7DJiOcLx/or3fJ4+6xFRwJ7NFjdBEgLGHclfMjpUt6W1kwiavjSM7zhUWjGQu1rctGOBhDojnPO8wQMZXOjC6xs+CtF2cu42r44Qdl9 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: b87d799c-be3b-44ca-5a3d-08dab927032a X-MS-Exchange-CrossTenant-AuthSource: BL0PR2101MB1092.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2022 20:57:23.8548 (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: MFpojuZLdVKtmMuyFQbet+EX5sYgfyARxlh3o75RMom97QGiPicxnzljZ4+VjvCMwZXpzExW6W7/ucQkR1o+7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR21MB1912 X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747966554382435011?= X-GMAIL-MSGID: =?utf-8?q?1747966554382435011?= |
Series |
vsock: remove an unused variable and fix infinite sleep
|
|
Message
Dexuan Cui
Oct. 28, 2022, 8:56 p.m. UTC
Patch 1 removes the unused 'wait' variable. Patch 2 fixes an infinite sleep issue reported by a hv_sock user. Dexuan Cui (2): vsock: remove the unused 'wait' in vsock_connectible_recvmsg() vsock: fix possible infinite sleep in vsock_connectible_wait_data() net/vmw_vsock/af_vsock.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)