Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3523355ybi; Tue, 2 Jul 2019 09:08:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjFrj9AMOFPY68KWgBs+FelaSV1UnLfwFMaGlRnsuJ0DqIr3Lg3d7OxpYTI2QWFtzQ6y0X X-Received: by 2002:a62:3543:: with SMTP id c64mr34215pfa.242.1562083701229; Tue, 02 Jul 2019 09:08:21 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d21si12780435pgd.544.2019.07.02.09.08.03; Tue, 02 Jul 2019 09:08:21 -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=YnguqG9f; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-onmicrosoft-com header.b=UxZ3quuy; arc=fail (signature failed); 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 S1726526AbfGBQGT (ORCPT + 99 others); Tue, 2 Jul 2019 12:06:19 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:49652 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbfGBQGT (ORCPT ); Tue, 2 Jul 2019 12:06:19 -0400 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x62G2cFo000685; Tue, 2 Jul 2019 09:05:09 -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=ceIs7ufevcskO0a/QJ8mUbTE1BpxpTsoEiZaH+2D1bY=; b=YnguqG9f9nzwJSpjd9HkNfL01A+O3tGgYdREb7IvRS5NieK8FUtmFSER6dq7FBQKEdL2 TV9IVP6h4EkgqujwgNtBpcv9dZEbPRB5oK5aKqa/BQSahkfavQmD1sH0i+UOPDniF+wn DwDTB3Y1lsqjxQqnvUuQ6vzswBjgZzWITqQ= Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2tg7hv0q0k-12 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 02 Jul 2019 09:05:09 -0700 Received: from prn-hub06.TheFacebook.com (2620:10d:c081:35::130) by prn-hub04.TheFacebook.com (2620:10d:c081:35::128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Tue, 2 Jul 2019 09:04:57 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5 via Frontend Transport; Tue, 2 Jul 2019 09:04:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=testarcselector01; d=microsoft.com; cv=none; b=ilYYvh8b8gw7ixiofes3OUrAj0Ut0fwErX1lDzuqyl+Q27JCu5oSH7Zefzxpg3H6uzsmTpOJeJJicTrEaYKlpc3funRxH8hMUlOvfr9zxRnaB185YYjnnJ0amB26fCf2XnTLJzmOWXb3rHfZV7zje9EDZeh5KQGEd0WNV7b40zQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=testarcselector01; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ceIs7ufevcskO0a/QJ8mUbTE1BpxpTsoEiZaH+2D1bY=; b=vX6a/ewBhUD2p/nxHik5GZiOhDgqqeuE6AT8oi3hQQFBFzw3L4JHvs/T2IkiwBAbHK/Am78o1icT4VmQBMCfhNCGwzSSu8RSAznIAghaf9eMgQZWuqiJYAlVl20B9zN/lipVaLQ3Tb4CnpJfk+SNrPB/AaeTG8YrKAoZ7RrDpsI= ARC-Authentication-Results: i=1; test.office365.com 1;spf=none;dmarc=none;dkim=none;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ceIs7ufevcskO0a/QJ8mUbTE1BpxpTsoEiZaH+2D1bY=; b=UxZ3quuyDc3tWP1P+xXDRWW/z/FXcEVnSiwHQFUjNGEIun37RxaYMWnc1USkeVfihDhtgvzyyWsDZxAS2PDI0wj4rHUjrRUgtBC2dqJsbxKcba1/fCha4cfXdgB/ebgC7txoMLoU+mlgrPCyuxtgYDjImDXGTowPg64Qz497HsI= Received: from BYAPR15MB3384.namprd15.prod.outlook.com (20.179.59.17) by BYAPR15MB2438.namprd15.prod.outlook.com (52.135.198.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 2 Jul 2019 16:04:55 +0000 Received: from BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::850b:bed:29d5:ae79]) by BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::850b:bed:29d5:ae79%7]) with mapi id 15.20.2032.019; Tue, 2 Jul 2019 16:04:55 +0000 From: Yonghong Song To: YueHaibing CC: Stanislav Fomichev , "ast@kernel.org" , "daniel@iogearbox.net" , Martin Lau , Song Liu , "sdf@google.com" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "bpf@vger.kernel.org" Subject: Re: [PATCH bpf-next] bpf: cgroup: Fix build error without CONFIG_NET Thread-Topic: [PATCH bpf-next] bpf: cgroup: Fix build error without CONFIG_NET Thread-Index: AQHVMNo5OI4ru0GJ7k2XomHdGmFYp6a3etEAgAADPgA= Date: Tue, 2 Jul 2019 16:04:55 +0000 Message-ID: References: <20190702132913.26060-1-yuehaibing@huawei.com> <20190702155316.GJ6757@mini-arch> In-Reply-To: <20190702155316.GJ6757@mini-arch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR12CA0040.namprd12.prod.outlook.com (2603:10b6:301:2::26) To BYAPR15MB3384.namprd15.prod.outlook.com (2603:10b6:a03:10e::17) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::3:8eae] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4a1427fa-e550-46ac-7d06-08d6ff0705ff x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:BYAPR15MB2438; x-ms-traffictypediagnostic: BYAPR15MB2438: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-forefront-prvs: 008663486A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(136003)(346002)(396003)(39860400002)(366004)(189003)(199004)(4326008)(66476007)(64756008)(316002)(66446008)(8676002)(25786009)(73956011)(476003)(66946007)(81156014)(54906003)(8936002)(6512007)(2616005)(81166006)(486006)(11346002)(305945005)(66556008)(446003)(5660300002)(71200400001)(53936002)(46003)(6436002)(7736002)(71190400001)(229853002)(14444005)(478600001)(14454004)(186003)(86362001)(102836004)(386003)(31686004)(53546011)(76176011)(99286004)(6506007)(256004)(5024004)(36756003)(52116002)(6486002)(31696002)(6916009)(6116002)(68736007)(2906002)(6246003);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2438;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-message-info: HRzP11pngLoJKqFZZj2DRch991rH33wDSJgnqQxfzzCmjo4bEjpQBtSmFZfkC727DSbBCOxp6M7xSleJrRKSKpWrLUNKcSX0TzBJedKn8QsOUPWM1T6ry7mOPe2JWS6VnRLKM+Tw3C4Hbvtrn5p6dhxhixBX7U/46SyIZ6bScL2CcvHxZCLDjyDelsj9IKx9ZHOFOK9wqZJHNksjBy6ldrtRumr/gCQML2Ut0OXkZDJBcSNQ7YCglmx9y5ksyqhNy2m1zuEphW+TRvE/+QIzwTrdVNXzI+s3MMBeS8dWtd1Wj44DKrNOSHlxiQaQoCe0TceSxq0WitRmgf5NkWO29I1MLRtuyP8GzEsZvk4zFbPiYhOURHGEmsUbVm0ixr1f9EfFr0UtKP1O7qOY43DUu11SJzKkh9TKuwDtxvEp2K8= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 4a1427fa-e550-46ac-7d06-08d6ff0705ff X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jul 2019 16:04:55.2486 (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: yhs@fb.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2438 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-02_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907020175 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDcvMi8xOSA4OjUzIEFNLCBTdGFuaXNsYXYgRm9taWNoZXYgd3JvdGU6DQo+IE9uIDA3 LzAyLCBZdWVIYWliaW5nIHdyb3RlOg0KPj4gSWYgQ09ORklHX05FVCBpcyBub3Qgc2V0LCBnY2Mg YnVpbGRpbmcgZmFpbHM6DQo+Pg0KPj4ga2VybmVsL2JwZi9jZ3JvdXAubzogSW4gZnVuY3Rpb24g YGNnX3NvY2tvcHRfZnVuY19wcm90byc6DQo+PiBjZ3JvdXAuYzooLnRleHQrMHgyMzdlKTogdW5k ZWZpbmVkIHJlZmVyZW5jZSB0byBgYnBmX3NrX3N0b3JhZ2VfZ2V0X3Byb3RvJw0KPj4gY2dyb3Vw LmM6KC50ZXh0KzB4MjM5NCk6IHVuZGVmaW5lZCByZWZlcmVuY2UgdG8gYGJwZl9za19zdG9yYWdl X2RlbGV0ZV9wcm90bycNCj4+IGtlcm5lbC9icGYvY2dyb3VwLm86IEluIGZ1bmN0aW9uIGBfX2Nn cm91cF9icGZfcnVuX2ZpbHRlcl9nZXRzb2Nrb3B0JzoNCj4+ICgudGV4dCsweDJhMWYpOiB1bmRl ZmluZWQgcmVmZXJlbmNlIHRvIGBsb2NrX3NvY2tfbmVzdGVkJw0KPj4gKC50ZXh0KzB4MmNhMik6 IHVuZGVmaW5lZCByZWZlcmVuY2UgdG8gYHJlbGVhc2Vfc29jaycNCj4+IGtlcm5lbC9icGYvY2dy b3VwLm86IEluIGZ1bmN0aW9uIGBfX2Nncm91cF9icGZfcnVuX2ZpbHRlcl9zZXRzb2Nrb3B0JzoN Cj4+ICgudGV4dC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