Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1620083ybh; Thu, 16 Jul 2020 18:10:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzthYvRPb+seRh+McIJSwDrkyNP8k4TfDsyhlw6VLugosI01psvtdhgO4Dfu35/w2mJRI9n X-Received: by 2002:a17:906:774d:: with SMTP id o13mr6234262ejn.373.1594948216731; Thu, 16 Jul 2020 18:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594948216; cv=none; d=google.com; s=arc-20160816; b=v4aZ5Nid5iPd8q3MWnYG1QyGaf22pTdrMvaDaf12w45s0lS0LHMQ04aegEUBCtzUUf VLT5mIFw18TvsPG6v6+nGvkmDQ5CfMbxeFdwez7dTM3BEo21WxIcSu0MKw4RxBi2rDPo 9V0aod4Vude6uEo5U0mBNYa2DSni+vCUcXhs52Ors8rp4bFW75rH0C1wk/8Z33kbmA6M PKCBMwrrfjYCt313DsRdPDXwQOYChQCS9MszJXtFU01eqGTJP7HO40YA3a4IEIKB+mVK WWPONE3jXj9PqsGmbHbtX0mvI+I/tEzR5i+xJ+9i9EKXoWUZGA4X0f4xHY7mmqqjmqps TdKA== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=o/Tnk+xU75800Ij09q+wc9WxQeh8/NxEaa2LHh/mW4g=; b=ghNmU8TMJ4Qo+4bFcifYElmwKWkc3DgqEhqRXLlf8gQmQmHExZ7+6PTKOD8iy6JlpL ovAZpgQ6r/CQe+cYxpMWnb+1TEfsiDOE3KMp5ZHnhI7nWuMoX0y8iBLaTikIvmalqlfn gLT5a3N5U3iWgW32RGj1z0o4nf9o5w62JjDRkEnxoLk6Lz56Mz4qoimBD7w2FYe4lN3i sjs6VWhLeQM/EYIWcX5iCY29FIn/eGOjzCIbWtVa6lgS1zq0NYu01UMuOyB5vIiOQ/7X 1G7fSFgrPRWx/Vm6weUwjJH4PjTsGinkfAVC8jDuqDVp+flpVdBCrxDMmuSMD4CFwste Rgog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G1B1dSdQ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id re8si3871848ejb.627.2020.07.16.18.09.53; Thu, 16 Jul 2020 18:10: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; dkim=pass header.i=@kernel.org header.s=default header.b=G1B1dSdQ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbgGQBJo (ORCPT + 99 others); Thu, 16 Jul 2020 21:09:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:56044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbgGQBJo (ORCPT ); Thu, 16 Jul 2020 21:09:44 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 76A68207BC; Fri, 17 Jul 2020 01:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594948183; bh=YgKWBSEhMz+NBsILDChvn58XB6zvrCT46NsLfN2Wlvs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G1B1dSdQxJSbAwQbKGWfetCMby9xFfC7p/pGY5CWr4Okt2I0vXrAgr6WRzjFNORXB AdjvdYH6Mh/eFqHoyigXwYxQzusAMPqLZff6rZXhrpCGImdP+F/cOm77Ia3K0zKOKw LI2qL2r2VXGG7bboN3eJbgOSfNKleZ6O5z6D5FDQ= Date: Thu, 16 Jul 2020 18:09:42 -0700 From: Jakub Kicinski To: Paolo Pisati Cc: "David S . Miller" , Shuah Khan , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support Message-ID: <20200716180942.2c52ecd1@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200716155114.72625-1-paolo.pisati@canonical.com> References: <20200716155114.72625-1-paolo.pisati@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Jul 2020 17:51:14 +0200 Paolo Pisati wrote: > Fix ip_defrag.sh when CONFIG_NF_DEFRAG_IPV6=m: > > $ sudo ./ip_defrag.sh > + set -e > + mktemp -u XXXXXX > + readonly NETNS=ns-rGlXcw > + trap cleanup EXIT > + setup > + ip netns add ns-rGlXcw > + ip -netns ns-rGlXcw link set lo up > + ip netns exec ns-rGlXcw sysctl -w net.ipv4.ipfrag_high_thresh=9000000 > + ip netns exec ns-rGlXcw sysctl -w net.ipv4.ipfrag_low_thresh=7000000 > + ip netns exec ns-rGlXcw sysctl -w net.ipv4.ipfrag_time=1 > + ip netns exec ns-rGlXcw sysctl -w net.ipv6.ip6frag_high_thresh=9000000 > + ip netns exec ns-rGlXcw sysctl -w net.ipv6.ip6frag_low_thresh=7000000 > + ip netns exec ns-rGlXcw sysctl -w net.ipv6.ip6frag_time=1 > + ip netns exec ns-rGlXcw sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 > + cleanup > + ip netns del ns-rGlXcw > > $ ls -la /proc/sys/net/netfilter/nf_conntrack_frag6_high_thresh > ls: cannot access '/proc/sys/net/netfilter/nf_conntrack_frag6_high_thresh': No such file or directory > > $ sudo modprobe nf_defrag_ipv6 > $ ls -la /proc/sys/net/netfilter/nf_conntrack_frag6_high_thresh > -rw-r--r-- 1 root root 0 Jul 14 12:34 /proc/sys/net/netfilter/nf_conntrack_frag6_high_thresh > > Signed-off-by: Paolo Pisati Reviewed-by: Jakub Kicinski