From 2353064758fab38e8771b0fe4ae3fac732e34b94 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Mon, 13 Aug 2018 22:39:27 +0200 Subject: [PATCH] Workaround still needed when IPv6 is used --- mptcp/files/etc/init.d/mptcp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mptcp/files/etc/init.d/mptcp b/mptcp/files/etc/init.d/mptcp index 3eae57e3d..330c86687 100755 --- a/mptcp/files/etc/init.d/mptcp +++ b/mptcp/files/etc/init.d/mptcp @@ -118,9 +118,9 @@ start_service() { global_multipath_settings config_load network config_foreach interface_multipath_settings interface $intf - #[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && { - # ethtool --offload eth0 rx off tx off - #} + [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ "$(sysctl -n net.ipv6.conf.all.disable_ipv6 | tr -d '\n')" = "0" ] && { + ethtool --offload eth0 rx off tx off + } } reload_service() {