Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp733102lqh; Fri, 31 May 2024 15:11:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwm7SzrB5aYRR4o+//yi23OEZzqUsjm85tFp7JuqTNwGOsQ29T6pNio7TV2BKxUgqGjBEWDVc64QsYMxxJK5qDmJzJdzq3xZetEB4dxQ== X-Google-Smtp-Source: AGHT+IH3T5XTEXGOrQ0mk44maZThd3midTzY+S1H6vRG1a9PDakqul0wp1ivfkyF3rMGUXVzxvGF X-Received: by 2002:a05:651c:218:b0:2ea:78e5:f57c with SMTP id 38308e7fff4ca-2ea95130351mr25974441fa.19.1717193517780; Fri, 31 May 2024 15:11:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717193517; cv=pass; d=google.com; s=arc-20160816; b=mp88CEF9zxUeaFmWdfCNyOgpa+e7cXGutO8Ze7TxoND1hVqzrkgP4Bv2KXXhOyOdQ0 EjBc+RWn/W7HNDnXCpqqbur9bFljHc1017HF7Qso5NeuSS8UqfYh4YnxmvueweTEdxxw JHLnM0ZFUzp6CUD5FA4O/g2stJhtPB/Khx4CyjIcE1ObBfr/vtpXtwSrICNmEE1V0nyk NLS4Ju4AA0GegR6jzMle9znyTWZWTT5/VbDi/oikkeQ7rXP/6TmFGHulTGS2dqgishvX 5OQLEFHySTBYSAWXpSaoZs5jMANGtCaaiD2me7AELKjC4XIyJt6Jiy6xoLFJfHxlXhqN zTLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nBnF/4yXH0rOH3TjrZYGoTuyn2JfhCmeI33/Ncg2NT0=; fh=bgzK5vHYjBmwAdFDwi8QnXak8xAbZz6DEPmNlafwmr4=; b=vxT+da8RmScxXTRZ9m+rv15xD40BKAhzPRyXcWU3WbFcMD6+yvM7yEn4EONgBXpeFg wbuKX+8dCDA42Pmq6Ye4NKBlYd1NUeniK2RF0C1btQfEb6KoOAKtYlAeLmsZIjK0NSJ3 M2qenkXYtCBoiXddmI4UNz1j01rJvkP4qdmFY8zWDvEVYP87+c+juS3Rd7WhWg1D241y Hk0nKExleoZ4kcecdb8mD5vOJN5iOfrJTLpkg18uyWQZZtTooJjJpJzJX5W1ReDlUtsV le0lvCTK1QQ+MI5ZexWhVbXZm+YSGRKER89APSBbyGV7fty+tMdbhgOtZQpiS8MJnocJ F/bA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Rqya7Xjh; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-197545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c77782si1344748a12.419.2024.05.31.15.11.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 15:11:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Rqya7Xjh; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-197545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7C7241F23644 for ; Fri, 31 May 2024 22:11:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F32FB81725; Fri, 31 May 2024 22:11:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Rqya7Xjh" Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11B8B24B4A for ; Fri, 31 May 2024 22:11:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717193508; cv=none; b=kF7w4oNU11uzjW3Ew3TiRlhNA5iYTB7yqFHjgu/v86iunr84CC0BpogcwoItCbZzL5osY3AYwFc6aMyhxPbaC2scjhH59kYjzfqIcwqX/wwh/Q0bDVmlJ2L1fYx0Z19/pbNqHWc0EkHtwo/rtS5KWbM7C4ZCay5k8EfSX6liu9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717193508; c=relaxed/simple; bh=N4wW+7bTRwqJCWqumNvlz2syET/F3JCFTu2RMfc9AIA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KxNddiU5XgT+boD4cAS+MuOw7sBNh+yf4bFxUWJuHUfMjPddl6gJBHPtx5ePkuhDUwPLU75vPjfLitzlWHp+f7VhY3c5Ta1rf4kqD78KdgSCTE0xV7HBOGxv33GL+8Jf3bYgh1isDbS6h65euXdDNC8euLAlDL8AY8pMDiMNVt0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Rqya7Xjh; arc=none smtp.client-ip=91.218.175.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: technoboy85@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1717193502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nBnF/4yXH0rOH3TjrZYGoTuyn2JfhCmeI33/Ncg2NT0=; b=Rqya7XjhWIKnIIz3ZpcFiziD9xcIDntei/ZA6lQ0ANRBJonR/m74Dx4mcnj7PuJZjNTfj5 vlaPM6XgOcybLrtDnWaUTlbsROT9MZQbIKVAuGSL2xWFD4mgC9ctTwFWv25ofBTOPCBltD xa1rzZuzK8DMDQZezig+cS97bTZkcZc= X-Envelope-To: netdev@vger.kernel.org X-Envelope-To: davem@davemloft.net X-Envelope-To: edumazet@google.com X-Envelope-To: kuba@kernel.org X-Envelope-To: pabeni@redhat.com X-Envelope-To: shuah@kernel.org X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: linux-kselftest@vger.kernel.org X-Envelope-To: teknoraver@meta.com Date: Fri, 31 May 2024 15:11:36 -0700 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: technoboy85@gmail.com Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Matteo Croce Subject: Re: [PATCH net-next v2 1/2] net: make net.core.{r,w}mem_{default,max} namespaced Message-ID: References: <20240530232722.45255-1-technoboy85@gmail.com> <20240530232722.45255-2-technoboy85@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240530232722.45255-2-technoboy85@gmail.com> X-Migadu-Flow: FLOW_OUT On Fri, May 31, 2024 at 01:27:21AM GMT, technoboy85@gmail.com wrote: > From: Matteo Croce > > The following sysctl are global and can't be read from a netns: > > net.core.rmem_default > net.core.rmem_max > net.core.wmem_default > net.core.wmem_max > > Make the following sysctl parameters available readonly from within a > network namespace, allowing a container to read them. > > Signed-off-by: Matteo Croce Reviewed-by: Shakeel Butt