Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2244167ybh; Fri, 17 Jul 2020 12:51:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7GvsrKAQyIrZm7V4y3m5oJhEuNU3tnp0EuCQkbWkxGoj5TXQ/xdzrfHY5RDo/89dC/Qx0 X-Received: by 2002:a17:906:1751:: with SMTP id d17mr9898805eje.140.1595015461801; Fri, 17 Jul 2020 12:51:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595015461; cv=none; d=google.com; s=arc-20160816; b=eOpEdK6xGPH1QbwNtodceV2/d9Y/dE7VuIL3VFfjt2QNQyMQI8hP4S6gzAK8Men2Hm rqQjCWM2HxCcjqg1m3+2zdW6VqmS0F715RWslH9Sjd/uz+LDnDc6g9WqL+ctwHm/AVfF LLvO+bOsrofEaTxTJXsE9q/QPiuFGjOeaQB+LzJpQiLPJPRZxgYRaEp0a5ZfC7SZEl5g Vq738AlxyUVnNPfW5v5lFQzqLwBCYTsNWVqMn9myhJDHpDc1XL9BR6siyCLLKJHvoEcc 15KX2Vd7XH1VPKEet4UQQ8Bb4OIplVJhgDNoybiDb3/TRw8eazOZZnZXDt9HfOHbLjdJ a1Ug== 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:from:subject:cc:to:message-id:date; bh=i2Khj5k22Lwmb37FmTh5LC1rWvBjj9bAQGYIKCXwe8Y=; b=0E2/eBgCpP6TeQA+crPEpq2UdgO/OkAwhTBwR5yt3g774FjRw0Ps/qYz7cAYcwfQdR p1ooEcxFbuwN5Ri1w1uBg9PWHu430btfA1GvdJmTdn1obUpygQtmsAhyd0ipDA8S9dyt gH4oarixpT15DKkwZ7AEmf3qk6NXdSBiZvQeOwL5Uf5G8wRBgRZZ+kx3FDDuuAb86cWC KLDcuEerjIyY3ZhpnkXLvI6ISAMbWNbXf0qctx46GWfJGzCUaWuKbrS54jlRGR/SEJFs Ig81cmn4Olh/qo+HuNPT+d3gFzDKj8n6dhb0TIZVlEPmbFb9ELXybexpoMr7yAF8cR+u uyDQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d18si5772414edy.194.2020.07.17.12.50.39; Fri, 17 Jul 2020 12:51:01 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728418AbgGQTtp (ORCPT + 99 others); Fri, 17 Jul 2020 15:49:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728022AbgGQTtp (ORCPT ); Fri, 17 Jul 2020 15:49:45 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BD85C0619D2; Fri, 17 Jul 2020 12:49:45 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 81B8A11E45928; Fri, 17 Jul 2020 12:49:44 -0700 (PDT) Date: Fri, 17 Jul 2020 12:49:43 -0700 (PDT) Message-Id: <20200717.124943.1418473237939036327.davem@davemloft.net> To: paolo.pisati@canonical.com Cc: kuba@kernel.org, shuah@kernel.org, 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 From: David Miller In-Reply-To: <20200716155114.72625-1-paolo.pisati@canonical.com> References: <20200716155114.72625-1-paolo.pisati@canonical.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 17 Jul 2020 12:49:44 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paolo Pisati Date: Thu, 16 Jul 2020 17:51:14 +0200 > 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 Applied, thanks.