From 406531009db685cf1038d42365b7e651e75e107f Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 21 Jan 2012 21:32:27 +0100 Subject: [PATCH] vm/systemd: disable scatter-gather only in ProxyVM NetVM sometimes doesn't have eth0, eg UsbVM. --- vm-systemd/network-proxy-setup.sh | 1 + vm-systemd/qubes-network.service | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-systemd/network-proxy-setup.sh b/vm-systemd/network-proxy-setup.sh index c12e1d3a..387e6492 100755 --- a/vm-systemd/network-proxy-setup.sh +++ b/vm-systemd/network-proxy-setup.sh @@ -11,4 +11,5 @@ if [ "x$network" != "x" ]; then echo "NS2=$secondary_dns" >> /var/run/qubes/qubes_ns /usr/lib/qubes/qubes_setup_dnat_to_ns echo "1" > /proc/sys/net/ipv4/ip_forward + /sbin/ethtool -K eth0 sg off fi diff --git a/vm-systemd/qubes-network.service b/vm-systemd/qubes-network.service index 86c02fe7..afb53f03 100644 --- a/vm-systemd/qubes-network.service +++ b/vm-systemd/qubes-network.service @@ -7,7 +7,6 @@ Before=network.target [Service] Type=oneshot RemainAfterExit=yes -ExecStartPre=/sbin/ethtool -K eth0 sg off ExecStart=/usr/lib/qubes/init/network-proxy-setup.sh StandardOutput=syslog