patch-2.3.41 linux/net/khttpd/waitheaders.c

Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/khttpd/userspace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/net/khttpd/waitheaders.c linux/net/khttpd/waitheaders.c
@@ -256,7 +256,7 @@
 		}
 		else   /* Normal Case */
 		{
-			Request->sock->sk->nonagle = 2; /* this is TCP_CORK */
+			Request->sock->sk->tp_pinfo.af_tcp.nonagle = 2; /* this is TCP_CORK */
 			if (Request->HTTPVER!=9)  /* HTTP/0.9 doesn't allow a header */
 				SendHTTPHeader(Request);
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)