[rds-commits] zab commits r90 - trunk/linux/net/rds

svn-commits@oss.oracle.com svn-commits at oss.oracle.com
Wed May 31 18:52:17 CDT 2006


Author: zab
Date: 2006-05-31 18:52:16 -0500 (Wed, 31 May 2006)
New Revision: 90

Modified:
   trunk/linux/net/rds/tcp_send.c
Log:
I have an idea, let's use TCP_CORK to set TCP_CORK!


Modified: trunk/linux/net/rds/tcp_send.c
===================================================================
--- trunk/linux/net/rds/tcp_send.c	2006-05-31 23:47:31 UTC (rev 89)
+++ trunk/linux/net/rds/tcp_send.c	2006-05-31 23:52:16 UTC (rev 90)
@@ -30,8 +30,8 @@
 
 	oldfs = get_fs();
 	set_fs(KERNEL_DS);
-	sock->ops->setsockopt(sock, SOL_TCP, TCP_NODELAY,
-			      (char __user *)&val, sizeof(val));
+	sock->ops->setsockopt(sock, SOL_TCP, TCP_CORK, (char __user *)&val,
+			      sizeof(val));
 	set_fs(oldfs);
 }
 




More information about the rds-commits mailing list