Skip to content

Commit

Permalink
Ignore error on enabling TCP early demux for old kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
Claes Mogren committed Oct 1, 2020
1 parent 591c44b commit 30378fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ cat "/proc/sys/net/ipv4/conf/$PRIMARY_IF/rp_filter"
if [ "${DISABLE_TCP_EARLY_DEMUX:-false}" == "true" ]; then
sysctl -w "net.ipv4.tcp_early_demux=0"
else
sysctl -w "net.ipv4.tcp_early_demux=1"
sysctl -e -w "net.ipv4.tcp_early_demux=1"
fi

echo "CNI init container done"

0 comments on commit 30378fa

Please sign in to comment.