Preliminary fix for packet capture loss

Interface offloading was not being turned off during setup
This commit is contained in:
William Wernert
2019-08-14 12:09:03 -04:00
parent f1ae2617c2
commit 8dbb5de55d
2 changed files with 17 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [ "$NM_DISPATCHER_ACTION" == "pre-up" ]; then
if ["$DEVICE_IFACE" !== "$MAININT"]; then
for i in rx tx sg tso ufo gso gro lro; do
ethtool -K $DEVICE_IFACE $i off;
done
fii
fi