aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2016-07-06 11:29:34 +0100
committerJohn Crispin <john@phrozen.org>2016-07-11 14:19:47 +0200
commit17f4d3967eec59db147d2f5b1c45dc9cf30a883e (patch)
treea856ec7bcacb7f385b6e57d9be3fcfc62f9b58da /package/network/services
parent3dded42f05d1875fc3fa261dda06aab027b38622 (diff)
downloadupstream-17f4d3967eec59db147d2f5b1c45dc9cf30a883e.tar.gz
upstream-17f4d3967eec59db147d2f5b1c45dc9cf30a883e.tar.bz2
upstream-17f4d3967eec59db147d2f5b1c45dc9cf30a883e.zip
samba: update smb template socket options defaults
Removed socket options = TCP_NODELAY IPTOS_LOWDELAY TCP_NODELAY (disables Nagle algorithm) is default since samba2. IPTOS_LOWDELAY sets DSCP 0x10 coding (CS2) The alternate IPTOS_THROUGHPUT sets DSCP 0x08 coding (CS1) CS1 is a scavenger class, whilst CS2 is more OAM/interactive (SNMP,SSH,syslog) Using CS2 is definitely an abuse of DSCP classification, CS1 less so however even if the ISP takes note of DSCP codings having a default that sets traffic to CS2 is wrong. Better to use the default Best Effort class. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/samba36/files/smb.conf.template1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/network/services/samba36/files/smb.conf.template b/package/network/services/samba36/files/smb.conf.template
index 7a996b8286..48e575a406 100644
--- a/package/network/services/samba36/files/smb.conf.template
+++ b/package/network/services/samba36/files/smb.conf.template
@@ -21,7 +21,6 @@
preferred master = yes
security = user
smb passwd file = /etc/samba/smbpasswd
- socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes