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-06-01 11:49:23 -07:00
2020-05-15 10:33:56 -07:00
2020-04-03 13:12:26 -07:00
2020-03-29 21:48:30 -07:00
2020-07-14 15:06:12 -07:00
2020-07-06 13:24:16 -07:00
2020-04-22 13:02:52 -07:00
2020-03-29 21:48:30 -07:00
2020-06-02 15:54:20 -07:00
2020-07-17 12:49:18 -07:00
2020-04-22 19:31:40 -07:00
2020-04-20 12:08:06 -07:00
2020-03-12 12:08:09 -07:00
2020-03-12 12:08:09 -07:00
2020-03-21 20:23:10 -07:00
2020-06-09 14:31:33 -07:00
2020-06-19 20:23:02 -07:00
2020-05-06 15:01:30 -07:00
2020-06-08 19:14:28 -07:00
2020-06-08 19:01:54 -07:00
2020-03-29 21:48:30 -07:00
2020-03-29 21:48:30 -07:00
2020-04-22 19:31:40 -07:00