Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp301534pxa; Wed, 12 Aug 2020 02:18:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2/1bcAGlzdR6wdTLLPa4GDR6H/74AoKuBfcLC60cPCnQF5Yr4SWIu9ZyAbz6fBdhvedyU X-Received: by 2002:a05:6402:1bc1:: with SMTP id ch1mr30392738edb.142.1597223906107; Wed, 12 Aug 2020 02:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597223906; cv=none; d=google.com; s=arc-20160816; b=FtVsPgR3EdVpVNxQQ45KebRs4dfkGypQkEGBRentHbWqYKcR9LoxWcqAnoYtgqYnpk M7qjGoYb2ipjp9BQ6CSKPMAul8bxZjtIc6JmY6VfqteUnUWo1/8OfApB3dN6nrGsvoQg 01ld9Vta2N68cvZDHwsSzDGV7jcX153bmncvspXTnp+af+kDxEcViL4yOcCu5nvzPGF3 +z1LEaO0usoEoTaS97qriyGQVX2zkQ9tuRUnL19IIWzIoeF3l7cDwb1MsgtJY2cuszc8 Oa/0XWiCxfeym26eyk7+xLLVVJ6sw5SIKz67/ovasEmBOz96QtM0zIM7jXU6mP6V1CU4 mQ6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=L+KavRCBQgfTOdvCNrk/qG3OTZZfc+8SqW2qQrGwgrg=; b=PjNqoDviEy7smIGZ7cvOiC1OI3juu3qmyKaxD5cY0cAxGg/sOwNkCaSw/PFebrLkqD SJ4IhP1tYOXYo6zRt8cVAhCRc6R1OV5rNKoNuxTetFbfQZacY46rzSUbgI9ZDRu2QeTB eDMIUsxVYGPJToZOLFqV7oNZXg+Mr0pyRggiU8VBNwqfA+WwosM/wR5R8tEj1SAS7NgY NzWn8OLyxt6xbtDXF1SfIoqDk8X5WGaZsFnKoGWcxg6ZbNFYQTRpvBtNR6YD9L6KxpHS JWB3O9TlHNmSKCiV9fIp8JuPwccQrXqk+qXp8I3J7tj9NkA+/8AKcOPF+h+CiIOJY65t 3sew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Vj+AkpnA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f27si838865ejf.677.2020.08.12.02.18.02; Wed, 12 Aug 2020 02:18:26 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=Vj+AkpnA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727123AbgHLJPo (ORCPT + 99 others); Wed, 12 Aug 2020 05:15:44 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:50322 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726255AbgHLJPm (ORCPT ); Wed, 12 Aug 2020 05:15:42 -0400 X-UUID: 6a8523b67382456a97e59d3f7a78669d-20200812 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=L+KavRCBQgfTOdvCNrk/qG3OTZZfc+8SqW2qQrGwgrg=; b=Vj+AkpnAXOI1M+CWJylimnh93Y4Vm8nVxIP0fxqcFdS+WRAhyE4QV2F+d0OPbx7QwygFiDwdP/Os0gevGB5k2qMoO8/Czh1elgXK6Vs61ja3IOYKj0WLHX9KlpNjgMElx3kzWWYBDJNlQynRDrng7kgqWj/b62KWweJ86RHLbLI=; X-UUID: 6a8523b67382456a97e59d3f7a78669d-20200812 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1205999173; Wed, 12 Aug 2020 17:15:39 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 12 Aug 2020 17:15:30 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 12 Aug 2020 17:15:30 +0800 Message-ID: <1597223732.5467.10.camel@mtkswgap22> Subject: RE: [PATCH] net: untag pointer in sockptr_is_kernel From: Miles Chen To: David Laight CC: 'Christoph Hellwig' , "David S . Miller" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "wsd_upstream@mediatek.com" Date: Wed, 12 Aug 2020 17:15:32 +0800 In-Reply-To: <36e381c558e24185bc2f7e80a758d06a@AcuMS.aculab.com> References: <20200811102704.17875-1-miles.chen@mediatek.com> <20200811111551.GA3958@lst.de> <36e381c558e24185bc2f7e80a758d06a@AcuMS.aculab.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 8C830A68D723F95F6BDDC1C13338A4B11FEEE2C54A7FF5C5D7AFEA180AA80EE62000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHV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