Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1155920ybh; Thu, 23 Jul 2020 01:40:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnzSQzpZFpBp4PPw2HvmFTT40T8Z717aFKVBPbEehmFY92GBk59aXFJJNbDAemAQQM6f/F X-Received: by 2002:a17:906:f117:: with SMTP id gv23mr3221629ejb.528.1595493658102; Thu, 23 Jul 2020 01:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595493658; cv=none; d=google.com; s=arc-20160816; b=vminhnq6ezkvvPtATQ5yvBW8iukn8G7dll4jTgOsmDbvq8BLVhPo15nK9jWenW7Lu3 JoXn90c8BowYFOjdv2oRMzK9odjL2XvIQDU7OCejHhwNS4TUV5t0ckJCLyhRKLWQXpJt slRg/cjXTN6KOLrSMO0wVlnM6w3Yh/bK2R91eMAuwwsxzJ5+v5SupBQK6+jGQnHSRX8W CLh42pZvKeD2RP4IRwDfqDJ+HqpzCCbBUuEPTHe+G1j8Hr6ay7fwW8c95CHhC5QF57lP Ae5K4K7Qw26D4JCzfmgvQKm5PswLet9oLCzIfnu5YPo/sjwGMbLUTekWO23aph7uEufj 1XFw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=GBFjr2NO+tPwRt48f6bV0DAq1xVraB+4JvlLFlRB/+g=; b=n9n3NIk2oROyvrk/IqHUkztF8+SFj+FcCCk8IHlybSfLwV8ug0hnN7yH82OLAuj3If /MZF5NFCIPEwC/NnFRmx5V2mVHOyExOpHezfjbJQO50fwkqMrxBhGwLr5qZq2DHIX3Fh OGG/LmWVu3oSWz26oEAOUSbmSPKBBfT0vjUyn4AUW25OPOFD0ZtkokKXpr3rNwwueGcj KgauuXl32MCKmCAgLw3Y7WPEjoxdq5oPQa7RE3V/ZdfL//vEQxgnOQAgGRjnc7EchnZJ 3ee96xqdgAx+qp2ucr+DUl5t2pv3+DJwMkUmd5+Eh4UgRQIacwD0dvRgsmP9PwfnH6kE EMXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=rGyvMeQ+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si1696868ejg.690.2020.07.23.01.40.18; Thu, 23 Jul 2020 01:40:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=rGyvMeQ+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728019AbgGWIkF (ORCPT + 99 others); Thu, 23 Jul 2020 04:40:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728005AbgGWIkC (ORCPT ); Thu, 23 Jul 2020 04:40:02 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082A8C0619E8 for ; Thu, 23 Jul 2020 01:40:01 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id f12so5472171eja.9 for ; Thu, 23 Jul 2020 01:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GBFjr2NO+tPwRt48f6bV0DAq1xVraB+4JvlLFlRB/+g=; b=rGyvMeQ+RAXj0neMlTzU8uPVoGP++MmPyXW9rehNveFQBhF8dyYxv6AjBxtstq4TFV 4fm/sT4fngoHPtNhHHFkRlNaBXaqxFcoxzVPV4jnyhOEIxpE+8WP3v6Ys+mZIZHxnElm 3+HlzqlN3TTCQNBXVwfzvcuNngRHeRTj8yDoqfrZmGsvdvEkoWCKJ4G7hKyFMO63jS/1 vJu6u48QBIkiTQUHfssZnDO3TKFO/LYe7iUYcCJScMS5N6nkTfO2ZkCaQ5+U85Bpfz5I QzSiZ0n35L2/+Xm7/99AiElI31daRjEc7Mt7bFjI3zXI8qtconQ7jAfr+lIgPePAz6Ta OZpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GBFjr2NO+tPwRt48f6bV0DAq1xVraB+4JvlLFlRB/+g=; b=CCYu8x1S9U2YE+DwAcy0G06pDZyerP2/GdJfmcMt3h0O57IdBxwNhVGQ3OhkVngaEv j7plEmlOfdr1uKS2xXPzl540SO64FjAsfyUfZThLCsIwVRlz7h/hlMb4kGg2xvZBkrVz 6rgVHDap/9yBg0roj4/AyFk0ljMBzVVbrz6tCXo65cB191hg+oiK7wDYneKuctLI1NvI YvzfVq8wx5Jokb2+bTVzQhPBQXrzt1XYKeIXhYF0kpFBquuTWgV0l5hvHvVYXeCI8ff6 1Tlbd0ybkepmMc7F/vMS/CfJVs/xs+yhKjwF7fK41feg+00HZLTjllf7oAH6pFypgdV0 pvBQ== X-Gm-Message-State: AOAM5303hDTQY42UdYNcnQFrKBCNm3bgm+1lPeC+mfxKCyzxCEMRhpu0 QUQKidz8wHidQYTqs9WKTy0NMw== X-Received: by 2002:a17:906:b0d3:: with SMTP id bk19mr3489955ejb.167.1595493599663; Thu, 23 Jul 2020 01:39:59 -0700 (PDT) Received: from tsr-lap-08.nix.tessares.net ([79.132.248.22]) by smtp.gmail.com with ESMTPSA id z22sm1634990edx.72.2020.07.23.01.39.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jul 2020 01:39:59 -0700 (PDT) Subject: Re: [MPTCP] [PATCH 25/26] net: pass a sockptr_t into ->setsockopt To: Christoph Hellwig , "David S. Miller" , Jakub Kicinski , Alexei Starovoitov , Daniel Borkmann , Alexey Kuznetsov , Hideaki YOSHIFUJI , Eric Dumazet Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-sctp@vger.kernel.org, linux-hams@vger.kernel.org, linux-bluetooth@vger.kernel.org, bridge@lists.linux-foundation.org, linux-can@vger.kernel.org, dccp@vger.kernel.org, linux-decnet-user@lists.sourceforge.net, linux-wpan@vger.kernel.org, linux-s390@vger.kernel.org, mptcp@lists.01.org, lvs-devel@vger.kernel.org, rds-devel@oss.oracle.com, linux-afs@lists.infradead.org, tipc-discussion@lists.sourceforge.net, linux-x25@vger.kernel.org, Stefan Schmidt References: <20200723060908.50081-1-hch@lst.de> <20200723060908.50081-26-hch@lst.de> From: Matthieu Baerts Message-ID: <1056b902-fd25-1c13-758d-cd4341dd403b@tessares.net> Date: Thu, 23 Jul 2020 10:39:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200723060908.50081-26-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Christoph, On 23/07/2020 08:09, Christoph Hellwig wrote: > Rework the remaining setsockopt code to pass a sockptr_t instead of a > plain user pointer. This removes the last remaining set_fs(KERNEL_DS) > outside of architecture specific code. > > Signed-off-by: Christoph Hellwig > Acked-by: Stefan Schmidt [ieee802154] > --- > net/mptcp/protocol.c | 12 +++---- Thank you for the v2! For MPTCP-related code: Acked-by: Matthieu Baerts Cheers, Matt -- Tessares | Belgium | Hybrid Access Solutions www.tessares.net