Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2421499pxj; Mon, 31 May 2021 01:32:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkBcy++PGcZ5VKicYN7EQ0iZH2NRLhO52oOgSRRJZ5fpb/M9gUag37rTEyNQqpOW18idD6 X-Received: by 2002:a05:6638:287:: with SMTP id c7mr19431714jaq.137.1622449936506; Mon, 31 May 2021 01:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622449936; cv=none; d=google.com; s=arc-20160816; b=MeH8A1p4A90JrY2BRH4AKaazBHe6II8FgHq9BHcjhqEbvsoP5JXgRun2jWzOrw6v7d scw4PMKGRMhagbSg+i50FXbgZzioe1Upwd13Lh1T/405N5iGn8rph8h7m57KdNs/6E0w ibPN1mdttWVPG/ThFM4/rd1GaCsEQvhObgEJtEMVMFmt+/1P5MpoeOSZEGs5wTh10GXv /Vn8eaG1ejigUbwu4XT6GAis92YuxlygKHdrgJDvsBwb5gu+hZ92avHnkl2h89iO1JPi PKGqILvM/1kAFxTWeUqXD25O0LqOaA+epbrW+e7EJS+RlQq5Q4qb2mSahVxnF4ejiJjC dQdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=vdcqa5Ru6cIBV7z+6eaN4bcLwSTSiL36czSa//luaKU=; b=khCJTrn/IneTsmg6StIB2EzRpPcl6LHDTp4GdOSny9BMMVV5K6hJqHJ7M31lTtsAnW V1AGt9tK0npy1Iju04+0CyXQvMDV23xPlO2X5tgUJkFlsZ9eOgZKnDcjtDHyn9CXuIeW LfVOM9J13rwQbGsah2KsicQ/jlcdF92SZsH3S2zI3sbNnklhJNIou8ORtZmrWEyVEwbT 0hVfK5XtZTvoSHa1qcsIyRX0QL+eVy2Go5eALNBm1a6bgkGSLUKv5AVa6B8PZjY5Jt8d zTtDIYMBXvAPXvfx7y3JfVyGbmOEt8FsjzM1Q7afnR1JX7hymikGQfV+/7Kl3TGhKWv4 7Etw== 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=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k21si13062877ioh.78.2021.05.31.01.32.02; Mon, 31 May 2021 01:32:16 -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=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbhEaIct (ORCPT + 99 others); Mon, 31 May 2021 04:32:49 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:51182 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230269AbhEaIcs (ORCPT ); Mon, 31 May 2021 04:32:48 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-198-CoR4ZBysM4G8M_zYvNcdaQ-1; Mon, 31 May 2021 09:31:01 +0100 X-MC-Unique: CoR4ZBysM4G8M_zYvNcdaQ-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 31 May 2021 09:30:58 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.015; Mon, 31 May 2021 09:30:58 +0100 From: David Laight To: 'Cong Wang' , Changbin Du CC: "David S. Miller" , Jakub Kici nski , Linux Kernel Network Developers , LKML , stable Subject: RE: [PATCH] net: fix oops in socket ioctl cmd SIOCGSKNS when NET_NS is disabled Thread-Topic: [PATCH] net: fix oops in socket ioctl cmd SIOCGSKNS when NET_NS is disabled Thread-Index: AQHXVL71XtaXo5XAQUOXarFFVJFJfar9RGXg Date: Mon, 31 May 2021 08:30:58 +0000 Message-ID: <55effe20acc54ea4a96ea86015d99a5b@AcuMS.aculab.com> References: <20210529060526.422987-1-changbin.du@gmail.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQ29uZyBXYW5nDQo+IFNlbnQ6IDI5IE1heSAyMDIxIDIwOjE1DQo+IA0KPiBPbiBGcmks IE1heSAyOCwgMjAyMSBhdCAxMTowOCBQTSBDaGFuZ2JpbiBEdSA8Y2hhbmdiaW4uZHVAZ21haWwu Y29tPiB3cm90ZToNCj4gPiBkaWZmIC0tZ2l0IGEvbmV0L3NvY2tldC5jIGIvbmV0L3NvY2tldC5j DQo+ID4gaW5kZXggMjdlM2U3ZDUzZjhlLi42NDRiNDYxMTJkMzUgMTAwNjQ0DQo+ID4gLS0tIGEv bmV0L3NvY2tldC5jDQo+ID4gKysrIGIvbmV0L3NvY2tldC5jDQo+ID4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