summaryrefslogtreecommitdiffstats
path: root/net/khttpd/datasending.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/khttpd/datasending.c')
-rw-r--r--net/khttpd/datasending.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/khttpd/datasending.c b/net/khttpd/datasending.c
index 7a1afc1df..058b308dc 100644
--- a/net/khttpd/datasending.c
+++ b/net/khttpd/datasending.c
@@ -172,7 +172,7 @@ int DataSending(const int CPUNR)
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);