Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2091161pxy; Mon, 2 Aug 2021 19:19:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykHAuOGujavkoiRDXpcGNHI46IH1lan9u3xP3uyGsqO44edaqZfJ+RpPR1R1CGFWeEwrD8 X-Received: by 2002:a17:906:b855:: with SMTP id ga21mr17820333ejb.262.1627957151009; Mon, 02 Aug 2021 19:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627957151; cv=none; d=google.com; s=arc-20160816; b=ggAuR+CRWFZULPZ096fcGRmklu01xIkqSg8E9LQc9oa9ohzfjWNhgWWJJeqCyQ4bLi p59Z3WlxZApWl/QawEfdZl2YzYjKkgUQELUXBkXI3xrwABslvWdDxFPPw8X1iYY1Ysx7 rjmYLEDcZU1F4/62LBs7Y+pEb6oR8K+ur80mj6CQRj/TwVJSSpcrQFZ97P/D8doFCz/n H7TyUv3lhVfCiRuo3n75ddWYzMYEWcjrrG/jI82ey5BDixZrqtK84CvXouFyZtAl+M3F LL6l+6OdDS4J+AWb2bdTC8X4E/bfmytUJH7fmdju2aQmRMQAPxWg1WeupuxrlDfG1x8B YmDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=xOKjrsTk69kdyiZYJTKspVMNP2BvodgySD+1UP27EL4=; b=kVRk41ttlgYneg4e+0ADdErqxWPm+qPBCLUmre0+mF9cIALAgP8QCCqGTkwBEpzivJ rBRdqOMku9KVmst8g57FAB6UKMKIqWnaHKEpe0Ey2nihwSDTgoWA8tojbQPusVzubK1j NG4K9PMiBlXfRT1qOXS3l36NF0kT1SMGwNePKrLjLJ5gvruKFMnTmFIWR3u/q5rKyKoO wZDDYKuhwFyrQ79rGjG9dr2UE9pENEPAc5fGzu7Xul2dvexzXndKzqOgf51mDEJZvHIo SUYd4SibOvMu0ro6NoyCfe3qI8UE1oEhJNXFzwMyL6M5gERAy9Bgi9v6cOMhfD6j1hkQ 5hKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si12528299ejj.279.2021.08.02.19.18.46; Mon, 02 Aug 2021 19:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233370AbhHCCRd (ORCPT + 99 others); Mon, 2 Aug 2021 22:17:33 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:12438 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233200AbhHCCRd (ORCPT ); Mon, 2 Aug 2021 22:17:33 -0400 Received: from dggeme701-chm.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Gdz242zxnzckD1; Tue, 3 Aug 2021 10:13:48 +0800 (CST) Received: from dggpemm500021.china.huawei.com (7.185.36.109) by dggeme701-chm.china.huawei.com (10.1.199.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 3 Aug 2021 10:17:21 +0800 Received: from dggpemm500021.china.huawei.com ([7.185.36.109]) by dggpemm500021.china.huawei.com ([7.185.36.109]) with mapi id 15.01.2176.012; Tue, 3 Aug 2021 10:17:21 +0800 From: "zhudi (J)" To: Nicholas Richardson , "davem@davemloft.net" , "kuba@kernel.org" CC: "nrrichar@ncsu.edu" , "arunkaly@google.com" , "Gustavo A. R. Silva" , "yebin (H)" , Yejune Deng , Leesoo Ahn , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjNdIHBrdGdlbjogRml4IGludmFsaWQgY2xvbmVf?= =?utf-8?Q?skb_override?= Thread-Topic: [PATCH v3] pktgen: Fix invalid clone_skb override Thread-Index: AQHXh8tQ8xg7Med4W06C+qfPmCpoyKthAu9g Date: Tue, 3 Aug 2021 02:17:20 +0000 Message-ID: <47e01747a5c648c8809c77055e981e80@huawei.com> References: <20210802102100.5292367a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210802182057.2199810-1-richardsonnick@google.com> In-Reply-To: <20210802182057.2199810-1-richardsonnick@google.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.136.114.155] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBOaWNrIFJpY2hhcmRzb24gPHJpY2hhcmRzb25uaWNrQGdvb2dsZS5jb20+DQo+IA0K PiBXaGVuIHRoZSBuZXRpZl9yZWNlaXZlIHhtaXRfbW9kZSBpcyBzZXQsIGEgbGluZSBpcyBzdXBw b3NlZCB0byBzZXQNCj4gY2xvbmVfc2tiIHRvIGEgZGVmYXVsdCAwIHZhbHVlLiBUaGlzIGxpbmUg aXMgbWFkZSByZWR1bmRhbnQgZHVlIHRvIGENCj4gcHJlY2VkaW5nIGxpbmUgdGhhdCBjaGVja3Mg aWYgY2xvbmVfc2tiIGlzIG1vcmUgdGhhbiB6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