From 8034b4946ea253e456448fd26e9b0a2203ec802f Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Tue, 8 May 2018 14:26:31 -0400 Subject: [PATCH] Fix ip_conntrack_proto_sctp modprobe error tools/configure_for_func_testing.sh tries to load the ip_conntrack_proto_sctp module unconditionally, even if it doesn't exist. Detect and only load if necessary. Trivialfix Change-Id: Idff8c9402d8ffcb21ae4f561642f65aeebbe8067 --- tools/configure_for_func_testing.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/configure_for_func_testing.sh b/tools/configure_for_func_testing.sh index 4bce5201580..55b55df9b1e 100755 --- a/tools/configure_for_func_testing.sh +++ b/tools/configure_for_func_testing.sh @@ -303,7 +303,8 @@ fi if [[ "$VENV" =~ "dsvm-fullstack" ]]; then _configure_iptables_rules - sudo modprobe ip_conntrack_proto_sctp + # This module only exists on older kernels, built-in otherwise + modinfo ip_conntrack_proto_sctp 1> /dev/null 2>&1 && sudo modprobe ip_conntrack_proto_sctp fi echo "Phew, we're done!"