summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-07 13:14:10 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-07 13:14:10 +0000
commit5bda689985e8067a68e3bdae2290672af6e5172f (patch)
tree6d85588c516a85c151dfe244029fc55d4ef3732e /etc
parent1329da9857405352814e1be6f9c0850dff855a0f (diff)
downloadpfsense-5bda689985e8067a68e3bdae2290672af6e5172f.zip
pfsense-5bda689985e8067a68e3bdae2290672af6e5172f.tar.gz
Skip checksumming and polling for vlans
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 3f22315..c7d214b 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -909,7 +909,10 @@ function enable_hardware_offloading($interface) {
if($config['system']['disablechecksumoffloading'])
return;
-
+ /* skip vlans for checksumming and polling */
+ if(stristr($interface, "vlan")) {
+ return;
+ }
if(stristr($options, "txcsum") == true)
mwexec("/sbin/ifconfig {$interface} txcsum 2>/dev/null");
if(stristr($options, "rxcsum") == true)
OpenPOWER on IntegriCloud