From 383a918322c1edd1977fdbce19e52e8c8e6ffac1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Tue, 15 Nov 2011 19:12:02 +0100 Subject: [PATCH] s3: allow to set TCP_NODELAYACK socket option on AIX MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit this is the AIX way to disable delayed ACKs, the same like TCP_QUICKACK on Linux Autobuild-User: Björn Jacke Autobuild-Date: Tue Nov 15 21:00:07 CET 2011 on sn-devel-104 --- lib/util/util_net.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/util/util_net.c b/lib/util/util_net.c index 139c9d42bca..1f6ecdd87ba 100644 --- a/lib/util/util_net.c +++ b/lib/util/util_net.c @@ -803,6 +803,9 @@ static const smb_socket_option socket_options[] = { #ifdef TCP_QUICKACK {"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL}, #endif +#ifdef TCP_NODELAYACK + {"TCP_NODELAYACK", IPPROTO_TCP, TCP_NODELAYACK, 0, OPT_BOOL}, +#endif #ifdef TCP_KEEPALIVE_THRESHOLD {"TCP_KEEPALIVE_THRESHOLD", IPPROTO_TCP, TCP_KEEPALIVE_THRESHOLD, 0, OPT_INT}, #endif -- 2.11.4.GIT