Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2113907rdb; Tue, 20 Feb 2024 18:44:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUcpq1Jh9SAXi13A8Xvmjqg5+wQafegPCLuTvFY/R2hO3zeX7Bqr3rkf2bobUSAvqOarSIBnjqZaLs75O9S53z9Ja0PRZU2ooxePZ3gmA== X-Google-Smtp-Source: AGHT+IHL9BT1JF3LWlbAmtiYYKCYX1ZsHhGzRW+PpA+Wtmdj5REThWrsdNDQqobevy9P463W1Qxq X-Received: by 2002:a05:6a20:939b:b0:19e:a9e6:bfa with SMTP id x27-20020a056a20939b00b0019ea9e60bfamr23387022pzh.0.1708483472674; Tue, 20 Feb 2024 18:44:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708483472; cv=pass; d=google.com; s=arc-20160816; b=IC1wU3QHWRAeDzOx1hskzhP8j9d+95bqddf7+xkho8Ix+2xHQNSDLIgvzdh0RZrW4h KBrw/qUadfpbNGTsp8OP3T84yNKxjbanUxLJwC876uyQW0odtQMCVOvPui3el3iKmSqR cHO259siwusQkkrUeiF5P8Exycc0N51BRm2PHmfbkhzfuS13HlgXqOCGBdhfnmDXoR1u T8nhunLOsR80MH0JWRMkoasyvWC5zv9uW98HhMyBJvV9TgTlid5B1duWomyRa46RgYd2 OH4GMMtnnXRvMamvjo3OUT4ighmXlJ3GzCmGkWpYJG68bSZRheCg75H008YTF2V5JJuw JZoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=huQBhc4YHl3eGuZLk1rpaJes8758crbomsUCrYGNCLA=; fh=czSPKUX59T+pFAqWDLXMO8uQqejuvhj74CLfy6bX9Xc=; b=HVRv3JMykk8k5RZgCPCiePlZMqSW2o/zcvdDwDF29CJY67z92roXhq5LA+4CaqCFUj 0PU8bZfBCcZ4dFjWMnBNkk7IsycZh6P3WPpGqOyDE0doMVOmKJaILalbv/KbdRW4fnnA a/Dod/nrsXitPSLupKC6rYZVxsPR0YN4AnP11+dNPvhdTf7/dYbeWnCQS0uusZr6tgRZ O7keNRhfDdxVUO8F1THTBHMJAzPkG3GDspHfCJkeJ0PVqZ9YH+Znqu2INWHTLUhHlfwU pki2+4D2DzS4sMLDaWiNopZLthr3dndjzgSEjgLdWvH7YOs4YO/a6QwDyTEWX+WhVamR EyhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-73968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bz3-20020a056a02060300b005cd90b47495si7419287pgb.264.2024.02.20.18.44.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 18:44:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-73968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6D4B3B24CE1 for ; Wed, 21 Feb 2024 02:40:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 556B928370; Wed, 21 Feb 2024 02:40:16 +0000 (UTC) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53F362554B; Wed, 21 Feb 2024 02:40:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708483215; cv=none; b=mhjASLOaMXQsG2R/mkmaxXvL+aL8ykLkHRsxjXJwHZJP3pNcQk1VOVw/+2xXU51JnKFR4JkHylLPrwhVAtokef4DhXo0aZJV9XzdZImGE7hb51/R3kxmpdxrLh9ToNbAgue93DFRx7xaTyKrz6Sr10JHm8Jn/tNkTJhbDYMC9X8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708483215; c=relaxed/simple; bh=huQBhc4YHl3eGuZLk1rpaJes8758crbomsUCrYGNCLA=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=sHRZD6l3Vca/WPTHEk8VMfpr4Zj8ygAhG0skaXQ5uBG+va3ihdrjX+4iE7N4HLovblCxnDKN8d/gWKzdsV8kCagv34UnAWxZB7riIvckIonI4YnC7oU9bplLWm+lfDLEfAyvqYY6T1jdi4Ex+nrG1IKWfXLcErHMK1k3eFP1IeU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4TfgRs0SvXz1h0LC; Wed, 21 Feb 2024 10:38:01 +0800 (CST) Received: from kwepemd100002.china.huawei.com (unknown [7.221.188.184]) by mail.maildlp.com (Postfix) with ESMTPS id 6C784140157; Wed, 21 Feb 2024 10:40:09 +0800 (CST) Received: from kwepemd100010.china.huawei.com (7.221.188.107) by kwepemd100002.china.huawei.com (7.221.188.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Wed, 21 Feb 2024 10:40:09 +0800 Received: from dggpemm500008.china.huawei.com (7.185.36.136) by kwepemd100010.china.huawei.com (7.221.188.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1258.28; Wed, 21 Feb 2024 10:40:08 +0800 Received: from dggpemm500008.china.huawei.com ([7.185.36.136]) by dggpemm500008.china.huawei.com ([7.185.36.136]) with mapi id 15.01.2507.035; Wed, 21 Feb 2024 10:40:08 +0800 From: wangyunjian To: Willem de Bruijn , "jasowang@redhat.com" , "kuba@kernel.org" , "davem@davemloft.net" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , xudingke Subject: RE: [PATCH net] tun: Fix xdp_rxq_info's queue_index when detaching Thread-Topic: [PATCH net] tun: Fix xdp_rxq_info's queue_index when detaching Thread-Index: AQHaY6qX2CBy+Itti0yhEsLiFpBp4LES3gaAgAE1xQA= Date: Wed, 21 Feb 2024 02:40:08 +0000 Message-ID: <3f175a5ef4e34a0394ae584a0b84523e@huawei.com> References: <1708398727-46308-1-git-send-email-wangyunjian@huawei.com> <65d4cc4b88e56_23483829431@willemb.c.googlers.com.notmuch> In-Reply-To: <65d4cc4b88e56_23483829431@willemb.c.googlers.com.notmuch> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogV2lsbGVtIGRlIEJydWlq biBbbWFpbHRvOndpbGxlbWRlYnJ1aWpuLmtlcm5lbEBnbWFpbC5jb21dDQo+IFNlbnQ6IFR1ZXNk YXksIEZlYnJ1YXJ5IDIwLCAyMDI0IDExOjU5IFBNDQo+IFRvOiB3YW5neXVuamlhbiA8d2FuZ3l1 bmppYW5AaHVhd2VpLmNvbT47DQo+IHdpbGxlbWRlYnJ1aWpuLmtlcm5lbEBnbWFpbC5jb207IGph c293YW5nQHJlZGhhdC5jb207IGt1YmFAa2VybmVsLm9yZzsNCj4gZGF2ZW1AZGF2ZW1sb2Z0Lm5l dA0KPiBDYzogbmV0ZGV2QHZnZXIua2VybmVsLm9yZzsgbGludXgta2VybmVsQHZnZXIua2VybmVs Lm9yZzsNCj4gYnJvdWVyQHJlZGhhdC5jb207IHh1ZGluZ2tlIDx4dWRpbmdrZUBodWF3ZWkuY29t Pjsgd2FuZ3l1bmppYW4NCj4gPHdhbmd5dW5qaWFuQGh1YXdlaS5jb20+DQo+IFN1YmplY3Q6IFJl OiBbUEFUQ0ggbmV0XSB0dW46IEZpeCB4ZHBfcnhxX2luZm8ncyBxdWV1ZV9pbmRleCB3aGVuIGRl dGFjaGluZw0KPiANCj4gWXVuamlhbiBXYW5nIHdyb3RlOg0KPiA+IFdoZW4gYSBxdWV1ZSh0Zmls ZSkgaXMgZGV0YWNoZW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