From 77a45e18e51ebe82aa35b4238d1ebf3fbc442033 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 25 Jun 2019 18:03:18 +0200 Subject: [PATCH] Only disable rx/tx on RPI with 4.14 kernel for now --- mptcp/files/etc/init.d/mptcp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mptcp/files/etc/init.d/mptcp b/mptcp/files/etc/init.d/mptcp index 1e049c131..80b28fb49 100755 --- a/mptcp/files/etc/init.d/mptcp +++ b/mptcp/files/etc/init.d/mptcp @@ -305,7 +305,7 @@ start_service() { } fi uci -q commit network - [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && { + [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ -n "$(ubus call system board | jsonfilter -e '@.kernel' | grep '4.14')" ] && { ethtool --offload eth0 rx off tx off } }