From patchwork Wed Jul 13 09:18:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 12916329 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0357EC433EF for ; Wed, 13 Jul 2022 09:18:28 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.366324.597067 (Exim 4.92) (envelope-from ) id 1oBYVW-0005w5-7N; Wed, 13 Jul 2022 09:18:10 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 366324.597067; Wed, 13 Jul 2022 09:18:10 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oBYVW-0005vy-4T; Wed, 13 Jul 2022 09:18:10 +0000 Received: by outflank-mailman (input) for mailman id 366324; Wed, 13 Jul 2022 09:18:09 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oBYVV-0005vs-8d for xen-devel@lists.xenproject.org; Wed, 13 Jul 2022 09:18:09 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60062.outbound.protection.outlook.com [40.107.6.62]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id b52c7b18-028c-11ed-bd2d-47488cf2e6aa; Wed, 13 Jul 2022 11:18:07 +0200 (CEST) Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by AM6PR04MB6248.eurprd04.prod.outlook.com (2603:10a6:20b:bf::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26; Wed, 13 Jul 2022 09:18:05 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::60ad:4d78:a28a:7df4]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::60ad:4d78:a28a:7df4%4]) with mapi id 15.20.5417.025; Wed, 13 Jul 2022 09:18:05 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: b52c7b18-028c-11ed-bd2d-47488cf2e6aa ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d38zqlEnIKpT5DpMO5VlrQsrBj86w8s8H2woRj4je3eLU2oHTIyQu0Aqhqm3YwluBKlMzLpxwNZKKvqf3UbMQukljic+NpLTTYRt6lyiDnqPbi9IniUYcYdH4jVdZyxDhFoGv/r2Jg6rHPF+fJpUuhsFOivxKeHrIohE/JWK93dlY9PFcIJ8HAYSIiDnulVBpXNdK9u/ilhIUnV2pWmZp9esBDdEhG95RxI+EI0GXiVXpZJ+S4QmxV4vN7BatZw1lDUcWYSdq520/HnWlDBX953g0uQlJizw6ndR0xXW4LzxtxiycOu/T8wblCmd9wcVeRqey4Ym+ndHof6OmbQDEw== 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=0wiJR8y9d9p8OP3226b9Uqy3841O2K+rwB3kugZg0Xw=; b=nIpF8MH3UF2WuKpdqlB585whcaLYkEQjKepQKS/B27+rVrxRfwGr7OUBJsawPRmpWogQ8YvorMfqcBh5AOtg2/CG6F6MeSYUT/DqGHxzLYL3esTo5nPTCaq+lvymFZ2ULg6jUGHD1Qz75mQ3Yi4SYrrQSdVKTQwJiGfPomvd3ng3T7KbTxnXV2ojKr7pEF0Q4WETqgF414n9yMvgyzdN9ouG0T5bvFy+41SDYaxJzYKr9bHTC29FlNAAEdKTEwrplL5zAVY1RyaeOqlTjo4VOQhRuy0ustl4P4elRCikVtMH7pA6Iw4sDmcfhaYuU5LqgsyMpfRImZsUK8+zdlzpDg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0wiJR8y9d9p8OP3226b9Uqy3841O2K+rwB3kugZg0Xw=; b=Qu8NhaXnapa1TaUiDrz7HGWQBZHt6EXMl8LNPad127rcTD+hIvIm2r6EzjBlxjXkCrNPYt5ndFiChJpiyntq0N57tg/h5XRpJEWhnWl4YoCd+KPP6WRMcf2zjrclWdzDWOtpPK+CvPuRv5es1CWLv5rNslzemTK2gIZ1u5HxEHDBYhexsLXSadB0791SLrfpK33VvvkY/vS6KlCo5N/2C34YOJJvSlqPlRRXimO1nTgR3eeabP5XlWGTqqm0+Hd8DOSoMKSJg030aEmdfvXM63LCD0MtQL1+QmnitUPvtnpM4hZjQDbIRh6Gw54Nt9IWRHMqs2/DZJgDe3nWQD92Kw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <7fca0e44-43b5-8448-3653-249d117dc084@suse.com> Date: Wed, 13 Jul 2022 11:18:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: "netdev@vger.kernel.org" , "xen-devel@lists.xenproject.org" Cc: Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko From: Jan Beulich Subject: [PATCH net-next 0/2] xen-netfront: XSA-403 follow-on X-ClientProxiedBy: AS8P189CA0040.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:458::7) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ef0a73c6-822d-464b-200a-08da64b09809 X-MS-TrafficTypeDiagnostic: AM6PR04MB6248:EE_ X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xUjMnvxJN13hfPUKFQA5OWNXojBbsQ5iukpZDFdYTODBDGS/gAS84XgTmhDGEAWCJm+sjoauBZ6XwF9KmmFRu7RlDHbplquZUoYW/bMR1XR9Jf8FVDaW9HE73m4NYTr+hwkIiqyahNyX5v7f4eVda6cxPgG8UrqfZdkrcLfkattqIclzWH72ELOPWXC8M54Af3ZVarSyjP59Tbb7g8+WfbLCouzW3SOmiuBuMqiVnV4qcmrk8FiEONo/ldFTezQyM3kpgktPjwmoSzgaG3bPLKjazLyOwVCJERWd//UBtZ3Y36Vm6LwX1FkU36oh5swkruua8IwPxpMcZpqnhvHnXEhX7LFdbtiGuVTp0iMLw+3wz3mbKCf+SgEs1TEflSdtALxo1jDiWulYEZcY3c4lsE70/5bC1t9mbX9sWoIkcd9sihuDG/UR8KI5PdiOn7BBeTlLIh4Grj1RXveXnWEf/sjknosVa6C6PqwTYMm2JVRtQpSJZ07J1EP1dLmWBr/dTu6DxYenKe5pHVceRvOWuPbXoj1MKr9rLac73YkHqC9xXDzM+KM1JCGsc+p/cBIBZamy4GjaLle5AVa8enxnJk8k2vzAZl2FZFYg7nbd2/QHyq7moMY/mM8wtAKCXLgQVuWdqOykvMJMYxxbDMzrBs55xB15hFF9TsY+e+N2QutU2WWl1jcEcYnbm0XLecECX7EJCN5U2U5P6BbKsusnxjZtoIEW/tI5xdkrgD6VQBIvSBHw5BMJe1jsNCqegXuRo4swR3V9M0HTs5PFt2a/K/Gjk4nkCTPNPSIyWLr4VEsU6Suk211+RFvvFivSA8bMX1PmQ7UCTNBbNIvF0jtlWDVbfEmFwe+plnnx7hMxN3A= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6560.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(346002)(376002)(396003)(366004)(136003)(39860400002)(2906002)(5660300002)(8936002)(83380400001)(31686004)(2616005)(38100700002)(558084003)(478600001)(6486002)(86362001)(6506007)(110136005)(8676002)(54906003)(4326008)(31696002)(66476007)(316002)(186003)(66556008)(26005)(6512007)(36756003)(41300700001)(66946007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nnMn0U8AvGIONjnUHGFjamAlAOZO?= =?utf-8?q?h/3bPDKYazUsfCwHm2+RcN56rWNMabRb9GfFxnPg8yHfYFA88opj1ZkBYv334TsZu?= =?utf-8?q?1F86ZzXilLZIkh0ijPqLc6D778VT516zvQ5WKARW5QE97dp7vI2bBZ15Ain95hLet?= =?utf-8?q?Sv3nzfLfX8YhBCi2RMY1IDxXrUtHVPX9tuhyY5h2eb1v4Ux474EqZ2eUtgV9L07Pg?= =?utf-8?q?Gpt2afdjPjyr+u0WHBdQzKPPci/VnfPhZ7FA/IANF9qHbfNp71BMN1YOXiFfDUpxM?= =?utf-8?q?CNtx7tNJYZBYMQnOBO3O/KslhXVLjqHn6KtvgVRjZMD0J/qxlL4K+BzZC5O3e5RQH?= =?utf-8?q?4hk2xMv5L7xtPGHoNp55YXXZcDgEcRrQZ4e8McgN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X/tPY5TPOD2bRoyuZbBmQ?= =?utf-8?q?mgzfd+PKpW4GjFZkL9kEraLzAwQtDTY/HhZKQrgXbeGEwUn26faDPXphW/B7i2Rsn?= =?utf-8?q?z66G+2bF19SqE5H3JbjOpyZ7YZejDVWOKFOPkxzm/MYZlmlsNQP8LsNosWP0kXdKu?= =?utf-8?q?eiSvjQsPV7Jzfe+54aUpo+zZVWHiPdQQJq0iVpIQZ2UOQ8yVLFVvtjVveRiNZNX11?= =?utf-8?q?S4oBaA+/lC0rQ4MfOzc740h3yEBCIMEQtpWDj+ERTVd0mxHUZ5s++Rh2OXcHSyG1I?= =?utf-8?q?wI0nwmIyFdB7?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef0a73c6-822d-464b-200a-08da64b09809 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2022 09:18:05.6602 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GGoBv65J5fF3uHNEJYWuVsevgYOGCBD7L+klwYprUDiF2dCMBGdlpxBfqkOt/t5tywXpnT9ZmRxXWxKkyRP2gA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6248 While investigating the XSA, I did notice a few more things. The two patches aren't really dependent on one another. 1: remove leftover call to xennet_tx_buf_gc() 2: re-order error checks in xennet_get_responses() Jan