Paolo Pisati
aba69d49fb
selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support
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 <paolo.pisati@canonical.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-17 12:49:18 -07:00
..
2020-04-03 13:12:26 -07:00
2020-06-24 14:25:59 +01:00
2020-07-09 23:41:37 +02:00
2020-04-03 13:12:26 -07:00
2020-04-03 13:12:26 -07:00
2020-05-08 09:40:58 -06:00
2020-06-01 11:49:23 -07:00
2020-06-09 10:03:12 -07:00
2020-05-07 19:27:21 -07:00
2020-06-16 10:42:47 -06:00
2020-04-23 17:23:20 -06:00
2020-04-23 17:23:20 -06:00
2020-04-14 10:24:28 -06:00
2020-07-08 16:01:36 -07:00
2020-04-14 09:49:13 -06:00
2020-06-11 12:35:19 -04:00
2020-06-04 19:06:25 -07:00
2020-05-08 09:46:17 -06:00
2020-04-23 17:23:20 -06:00
2020-07-17 12:49:18 -07:00
2020-06-25 00:50:31 +02:00
2020-05-08 09:42:14 -06:00
2020-06-05 20:02:09 -04:00
2020-06-17 00:48:54 +02:00
2020-06-26 12:53:09 +10:00
2020-04-22 10:51:22 -05:00
2020-05-30 10:34:02 -07:00
2020-05-02 16:31:45 -07:00
2020-04-03 13:12:26 -07:00
2020-05-07 10:18:32 -07:00
2020-06-16 13:44:04 +02:00
2020-06-09 10:03:12 -07:00
2020-06-25 16:10:45 -07:00
2020-05-22 13:29:55 -06:00
2020-07-06 14:20:35 -06:00
2020-05-22 11:05:07 -06:00
2020-06-10 19:14:17 -07:00
2020-06-23 14:50:34 -07:00
2020-07-04 19:47:25 +02:00
2020-04-03 13:12:26 -07:00
2020-05-19 16:11:46 -06:00
2020-04-23 17:23:20 -06:00
2020-04-28 13:30:44 -07:00
2020-07-06 15:07:47 -06:00
2020-04-01 16:09:12 -07:00
2020-05-19 16:11:46 -06:00