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-07-03 08:11:16 -03:00
2020-06-16 21:21:03 -04:00
2020-06-17 17:52:30 +02:00
2020-05-29 16:51:13 -03:00
2020-05-09 16:13:58 -06:00
2020-02-19 04:10:32 -07:00
2020-05-05 18:27:09 +02:00
2020-01-26 22:10:10 -05:00
2020-03-25 11:50:48 +01:00
2020-07-10 18:16:22 -07:00
2020-04-21 09:13:12 -04:00
2020-04-10 15:36:22 -07:00
2020-03-25 11:50:48 +01:00
2020-07-10 18:16:22 -07:00
2020-03-25 11:50:48 +01:00
2020-06-28 10:16:15 -07:00
2020-04-02 17:57:10 +01:00
2020-03-25 11:50:48 +01:00
2020-07-06 09:24:02 -03:00
2020-06-10 17:27:28 +02:00
2020-03-25 18:58:11 -07:00
2020-06-11 16:27:24 +01:00
2020-07-17 12:49:18 -07:00
2020-04-07 20:00:16 -07:00
2020-03-25 11:50:48 +01:00
2020-06-22 12:34:22 -04:00
2020-06-03 20:09:49 -07:00
2020-01-13 13:19:39 -05:00