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

Next file: linux/net/khttpd/sockets.c
Previous file: linux/net/khttpd/accept.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/net/khttpd/datasending.c linux/net/khttpd/datasending.c
@@ -172,7 +172,7 @@
 			if  (CurrentRequest->sock->sk->state == TCP_ESTABLISHED ||
 			     CurrentRequest->sock->sk->state == TCP_CLOSE_WAIT)
 			{
-				CurrentRequest->sock->sk->nonagle = 0;
+				CurrentRequest->sock->sk->tp_pinfo.af_tcp.nonagle = 0;
 				tcp_push_pending_frames(CurrentRequest->sock->sk,&(CurrentRequest->sock->sk->tp_pinfo.af_tcp));
 			}
 			release_sock(CurrentRequest->sock->sk);

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