Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1766115ybg; Sat, 19 Oct 2019 02:04:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOXqS0K+Fif/DJPjnSsirYm/5r/ET75txIsaQnFY7YsC31+AlJaYo4GXrAK9ED0bzuWaMm X-Received: by 2002:a17:906:7c57:: with SMTP id g23mr12683216ejp.116.1571475853334; Sat, 19 Oct 2019 02:04:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571475853; cv=pass; d=google.com; s=arc-20160816; b=icp3/KizXOq0CNtYgFJT5rSzp2bpVypl/+e1/hv1dnKWXB5CKSTQioNoqgplmAjY2I mvUNojDkRysG+cFyNrVZk6GQqtTOeR9UikZK4PYQJKm4BtJf3fKQRt00sEFnHMK9jdVr 7kuE41V5K+CpffEXyxahEpwWEM59jL0gMg8VQNSCaH6s5PuZyQMIXvNTr6nGu0wVumhG UyK3VqeCmRVb1haYX+NAgIYqnnOeU16pwmcHERgAgqIzUrvo/HaYGLDHji7a1fSx8ANJ 8/60ayNCKszpjj6OACOJZ7I2msfZdSPkgyzOrmcg21r9cwjsGYV3DMYlMommjH3LCJi+ 6KNw== 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 :dkim-signature:dkim-signature; bh=OuJEf/Kdrpy+drj0OASDzsUBikIKeeeLgsqYVUboVvE=; b=rK+vYj3ifyMck4Tow4DgyBbxlpjQuZ5n9IXepJ0ZcTDTmcO+YNyMUHPJ3vxz5V0Q64 psLZyass2u1w8pVlBv63vKzBwGmJ9fPZT41Qgw4Ydb0zMmUJGfA95pBCPgKXdvo4FgsP 22+5cwq3haShR3W0BHBWKVJTKXg0BLP2yu5MdEajpPzVlfDskSYbMbxVQ+BGvlsuwpye UmPuOQoNTZg8Gl/jcabZiRk/Gly9YFtJkeP5QlWmVzaDF/qF7yekXERiaWVgOhu3om4B 0LRPN1sFW7WwsTYyx1yAwJgO72LNgXkxlE3pCsXf1fPNyR+5bqJLXd2u94bufpR9suXm C1Dw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=EkRnUCZg; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=RAoCaZc5; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck24si4803818ejb.400.2019.10.19.02.03.49; Sat, 19 Oct 2019 02:04:13 -0700 (PDT) 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; dkim=pass header.i=@fb.com header.s=facebook header.b=EkRnUCZg; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=RAoCaZc5; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502415AbfJRSMn (ORCPT + 99 others); Fri, 18 Oct 2019 14:12:43 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:25576 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbfJRSMm (ORCPT ); Fri, 18 Oct 2019 14:12:42 -0400 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9II5Yfn029873; Fri, 18 Oct 2019 11:11:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=OuJEf/Kdrpy+drj0OASDzsUBikIKeeeLgsqYVUboVvE=; b=EkRnUCZg//COOzPJmHMUs4Yx1znEhkLfFGN1y7ayUMQnB2Z6Mj3G5HeM4bDWOPHDfuiV Y7/KzdjDsDwDVrnODzNtIkppPw33eWLq7UYGd1Ar2BTcSVFdEBYOXGQB7cmR+A+EP0Z/ tkdMjXZO4L+FN0SJ+3iWwFr7ZYo9GARZVmE= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2vqgss8h3y-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 18 Oct 2019 11:11:09 -0700 Received: from ash-exhub201.TheFacebook.com (2620:10d:c0a8:83::7) by ash-exhub101.TheFacebook.com (2620:10d:c0a8:82::e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 18 Oct 2019 11:11:09 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.36.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 18 Oct 2019 11:11:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V897sQHdTovn20wr1xMKt21fKowQOr1+JLS8J2Mp5tivafQntV+obhJGAor4hHJuWjrSsHg12EaGds34Tn8K9GrCZPPBsybZdoxMm1caYYx9F2XbkWRb6FXAZVDj+USUhAK4D66C5o2G23oW1p6mUB+NKbJUdRyG8ap51eSjwnUYhaKbHxss1xqC8kiJ/QdfNJrBZNUueaL49231zM2FhkOCpwZnq/Ets3gbIHDsRd4mbkt1Bf/JMtk2/Kvf61EH9aXWq16fNO21n2MAqO0lZwK4Dd9k3f0tpRlxP8AtHBd5JyEkVDY9jzhORKyOJT0TszypjsXApBH11l28X9ZThw== 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=OuJEf/Kdrpy+drj0OASDzsUBikIKeeeLgsqYVUboVvE=; b=TZlo2QP31Fxepf2onsqLF80uZhpuRtUaiWSPUrAIIuLHzzhjO64SvYNxaNBS+e94N5YZrAfj+cZ9pNpemUpCvBS+sCkp1HXf1/xb09IOG11WqFhPv8niCo+oZ9dSzzx0dsgF8A4DpESXjdCICN4/huRRWAQc+iTvyroKEoXl+g9X4FRVxj9FiKHj9cuaNREW1YsyX//VF6JHOuk1RmVzdlwQ/cV1N74PGWcOec2Z8Mk5C40MRkUyxfVUYoI2p24DZd0ymLc2dYdUF6BbDx9NDaG4Ya2OGHuDGDqclYlBmkJLU/nj/1Aiz4wzzH12zTOu4do62T1coW+4WopxW0/0Eg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector2-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OuJEf/Kdrpy+drj0OASDzsUBikIKeeeLgsqYVUboVvE=; b=RAoCaZc5YJNLKZTMHwqS17OjJUmCoSMWmvHrNUZlAzlcYnHsUxlzNcS9p13cfBWjGv/CBc2WBwS9oSRuoQL2LC4hbenBi/tBqizsegj+RjTHQHQPvzC89od7Gp1Taaqfy0QCJ6UOGj9vBXnrCdtliLHv9gGJ5MmKbptJnEwq1+Y= Received: from BYAPR15MB3384.namprd15.prod.outlook.com (20.179.60.27) by BYAPR15MB2358.namprd15.prod.outlook.com (52.135.198.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.20; Fri, 18 Oct 2019 18:11:08 +0000 Received: from BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::b92c:ebd2:58dc:6b8d]) by BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::b92c:ebd2:58dc:6b8d%5]) with mapi id 15.20.2347.024; Fri, 18 Oct 2019 18:11:07 +0000 From: Yonghong Song To: YueHaibing , "rostedt@goodmis.org" , "mingo@redhat.com" , "ast@kernel.org" , "daniel@iogearbox.net" , Martin Lau , Song Liu , Andrii Nakryiko CC: "netdev@vger.kernel.org" , "bpf@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH bpf-next] bpf: Fix build error without CONFIG_NET Thread-Topic: [PATCH bpf-next] bpf: Fix build error without CONFIG_NET Thread-Index: AQHVhZNJsykV/X9sw02Jid8GrOHS3adgs6eA Date: Fri, 18 Oct 2019 18:11:07 +0000 Message-ID: References: <20191018090344.26936-1-yuehaibing@huawei.com> In-Reply-To: <20191018090344.26936-1-yuehaibing@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MW2PR2101CA0007.namprd21.prod.outlook.com (2603:10b6:302:1::20) To BYAPR15MB3384.namprd15.prod.outlook.com (2603:10b6:a03:112::27) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::3:3455] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ab123800-1ee3-47d6-8cb4-08d753f68c24 x-ms-traffictypediagnostic: BYAPR15MB2358: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:321; x-forefront-prvs: 01949FE337 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(396003)(346002)(376002)(39860400002)(366004)(189003)(199004)(66476007)(66446008)(66556008)(6512007)(6636002)(66946007)(64756008)(6246003)(4326008)(31696002)(86362001)(2906002)(2501003)(6116002)(6486002)(6436002)(305945005)(2201001)(7736002)(102836004)(53546011)(6506007)(386003)(229853002)(256004)(36756003)(186003)(54906003)(478600001)(110136005)(52116002)(14454004)(76176011)(99286004)(71190400001)(316002)(71200400001)(46003)(11346002)(31686004)(486006)(476003)(446003)(2616005)(8936002)(81166006)(81156014)(5660300002)(25786009)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2358;H:BYAPR15MB3384.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 74dTmG0aAS/tSWEcLv9g1jCLztzHUSkWAwWFgO1OScCuNMBhWZeQBZ8KGORs9z27wrVbkqOQlxVAQpgS2NXiUQ7+ZHYWjGzb6j2RAVYhN5n6p11zMNHVyffMlVhbHazjGxDieQ6MmvdfV3QJUm7cSFmxoO9ZDInNNnaZo012w8eGwA//uI9sjjkIic0z+dhDh8nHk1w5t3bGR1gOCjiqNulK2qSxAa3plh1axwlu/qfLb2LzhnZdBAjUGQAgazec47L4qHVl3pWg91TFEMwQDVJrnibzO3WjE5Ml/Dq6xxx8t9yhoYKYjYHchdlK3DE6/B61ljIVWSdxQOA416te+Zf84/IWF+oC1otlZfa6RuCFNOiyve4BFlP65bsH7Hu5Lweb0qmnfP20HxTXekcwBGgDWbQ0C0pVhUcf03K1w8t/RhV4jCJbGF1vDp+c1JR+ Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ab123800-1ee3-47d6-8cb4-08d753f68c24 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2019 18:11:07.8138 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: x1IJon7//U0P6o+j2uZwfKU6i641In1mgxtSjgqG7Z4WObdURiabkUGQbp9Z40fW X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2358 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-18_04:2019-10-18,2019-10-18 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 clxscore=1011 spamscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 impostorscore=0 adultscore=0 phishscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910180164 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDEwLzE4LzE5IDI6MDMgQU0sIFl1ZUhhaWJpbmcgd3JvdGU6DQo+IElmIENPTkZJR19O RVQgaXMgbiwgYnVpbGRpbmcgZmFpbHM6DQo+IA0KPiBrZXJuZWwvdHJhY2UvYnBmX3RyYWNlLm86 IEluIGZ1bmN0aW9uIGByYXdfdHBfcHJvZ19mdW5jX3Byb3RvJzoNCj4gYnBmX3RyYWNlLmM6KC50 ZXh0KzB4MWEzNCk6IHVuZGVmaW5lZCByZWZlcmVuY2UgdG8gYGJwZl9za2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